-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
91 lines (80 loc) · 1.68 KB
/
pyproject.toml
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
[build-system]
requires = ["setuptools", "wheel", "Babel"]
build-backend = "build_support.backend"
backend-path = ["."]
[project]
name = "arbeitszeitapp"
version = "0.0.0"
classifiers = [
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
"Programming Language :: Python :: 3.11",
]
[project.optional-dependencies]
profiling = ["flask_profiler"]
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
include = [
"arbeitszeit",
"arbeitszeit.*",
"arbeitszeit_flask",
"arbeitszeit_flask.*",
"arbeitszeit_web",
"arbeitszeit_web.*",
]
[tool.black]
target-version = ['py311']
extend-exclude = '''
(
^/arbeitszeit_flask/development_settings\.py |
^/arbeitszeit_flask/migrations/
)
'''
[tool.isort]
profile = "black"
multi_line_output = 3
skip = "arbeitszeit_flask/migrations"
[tool.mypy]
files = [
"arbeitszeit",
"arbeitszeit_benchmark",
"arbeitszeit_development",
"arbeitszeit_flask",
"arbeitszeit_web",
"build_support",
"tests"
]
mypy_path = "type_stubs"
exclude = '''
migrations/
'''
disable_error_code = "type-abstract"
[[tool.mypy.overrides]]
module = [
"arbeitszeit",
"arbeitszeit_web",
"arbeitszeit_flask",
"tests"
]
allow_untyped_defs = false
[[tool.mypy.overrides]]
module = [ "arbeitszeit_flask.database.models" ]
ignore_errors = true
[[tool.mypy.overrides]]
module = [
"flask_babel",
"flask_login",
"flask_restx.*",
"flask_sqlalchemy.*",
"flask_wtf",
"matplotlib.*",
"parameterized.*",
"sqlalchemy.*",
"wtforms.*",
]
ignore_errors = true
[[tool.mypy.overrides]]
module = [
"sqlalchemy.*",
]
ignore_missing_imports = true