Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
116 lines (97 loc) · 2.05 KB
/
Copy pathpyproject.toml
File metadata and controls
116 lines (97 loc) · 2.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
[project]
name = "flask-super"
version = "0.2.13"
description = "Patterns and idioms for Flask applications."
readme = "README.md"
authors = [{ name = "Abilian SAS", email = "sf@abilian.com" }]
# We're uing pattern matching, so we need Python >=3.10
requires-python = ">=3.10,<4"
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"flask>=3.0",
"svcs>=24.1",
"sentry-sdk>=2",
"loguru>=0.7",
"attrs>=23.1",
"termcolor>=2.4",
"typing-extensions>=4.1",
]
[build-system]
requires = ["uv_build>=0.8.4,<0.9.0"]
build-backend = "uv_build"
[tool.pyrefly.errors]
missing-import = "ignore"
unsupported-operation = "ignore"
[dependency-groups]
dev = [
"abilian-devtools>=0.7.6",
"devtools>=0.12.2",
"pyrefly>=0.38.2",
"ruff>=0.14.1",
"toml>=0.10.2",
]
# ---
[tool.isort]
profile = "black"
# ---
[tool.pytest.ini_options]
filterwarnings = [
# 'ignore:.*contextfunction.*:DeprecationWarning',
# 'ignore:.*Unmanaged.*:sqlalchemy.exc.SAWarning'
]
addopts = "--tb=short"
testpaths = [
"tests",
"src",
]
# ---
[tool.bandit]
skips = [
"B404", # blacklist
"B603", # subprocess_without_shell_equals_true
]
# ---
[tool.deptry]
ignore_obsolete = []
ignore_missing = []
ignore_transitive = []
exclude = [
'.tox', 'tests', 'sandbox', 'doc', 'scripts',
]
# ---
[tool.pyright]
exclude = [
'.tox',
'.nox',
'tests',
'sandbox',
'doc',
'scripts',
'tmp',
]
include = ["src"]
# pyright has issues with modules imported from a root __init__.py
reportPrivateImportUsage = false
# Temp
reportGeneralTypeIssues = false
reportMissingImports = false
reportOptionalSubscript = false
[tool.pyrefly]
project-includes = ["src"]
project-excludes = [
".tox",
".nox",
"tests",
"sandbox",
"doc",
"scripts",
"tmp",
]
infer-with-first-use = false