-
-
Notifications
You must be signed in to change notification settings - Fork 72
/
Copy pathpyproject.toml
72 lines (67 loc) · 1.34 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
[tool.black]
line-length = 88
target-version = ['py311']
include = '\.pyi?$'
exclude = '''
# A regex preceded with ^/ will apply only to files and directories
# in the root of the project.
^/(
(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
)
| urls.py
| migrations
'''
[tool.isort]
profile = "black"
force_sort_within_sections = true
skip_gitignore = true
known_first_party = [
"api",
"autoemails",
"consents",
"communityroles",
"dashboard",
"emails",
"extcomments",
"extforms",
"extrequests",
"fiscal",
"recruitment",
"reports",
"trainings",
"workshops",
]
[tool.mypy]
plugins = ["mypy_django_plugin.main"]
python_version = 3.11
check_untyped_defs = true
disallow_any_generics = true
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_untyped_decorators = true
disallow_any_unimported = true
ignore_errors = false
implicit_reexport = false
show_error_codes = true
strict_optional = true
strict_equality = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_configs = true
warn_unused_ignores = true
warn_unreachable = true
warn_no_return = true
warn_return_any = true
[tool.django-stubs]
django_settings_module = "config.settings"