-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
53 lines (51 loc) · 875 Bytes
/
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
[tool.black]
line-length = 119
target-version = ['py37', 'py38', 'py39']
include = '\.pyi?$'
exclude = '''
/(
\.toml
|\.eggs
|\.sh
|\.tox
|\.git
|\.ini
|\.pytest_cache
|\.venv
|build
|dist
|Dockerfile
|Jenkinfile
|node_modules
|.*/migrations/.*
)/
'''
[tool.isort]
profile = 'black'
skip_gitignore = true
skip='migrations'
[tool.coverage]
[tool.coverage.run]
omit = ['tests']
[tool.coverage.report]
show_missing = true
skip_covered = true
exclude_lines = [
'if TYPE_CHECKING:',
'pragma: no cover',
"if __name__ == '__main__':",
]
[mypy]
python_version = '3.9'
allow_redefinition = true
check_untyped_defs = true
show_error_codes = true
warn_unused_ignores = true
strict_optional = true
incremental = true
warn_redundant_casts = true
warn_unused_configs = true
local_partial_types = true
show_traceback = true
exclude = 'migrations/'
strict=true