-
Notifications
You must be signed in to change notification settings - Fork 15
/
setup.cfg
48 lines (44 loc) · 964 Bytes
/
setup.cfg
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
[coverage:report]
precision = 2
ignore_errors = True
exclude_lines =
if 0:
if __name__ == .__main__.:
def __repr__
@abstractmethod
pragma: no cover
raise NotImplementedError
if TYPE_CHECKING
[coverage:run]
branch = true
omit =
src/api/utils.py
src/infrastructure/databse/migrations/*
src/core/server.py
src/core/manage.py
src/utils/*
[isort]
multi_line_output = 3
include_trailing_comma = True
line_length = 100
force_grid_wrap = 0
combine_as_imports = True
[flake8]
max-line-length = 100
output-file = .artifacts/flake8.txt
max_complexity = 10
inline_quotes = double
statistics = True
count = True
# C = mccabe
# E = pycodestyle errors
# F = flake8 pyflakes
# W = pycodestyle warnings
ignore = E203, E712, E711, E501, W503, C8, WPS,
select = C,E,F,W
[mypy]
html_report = .artifacts/mypy.html
disallow_untyped_defs = True
ignore_missing_imports = True
warn_unused_ignores = True
disallow_any_generics = False