-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.cfg
41 lines (34 loc) · 863 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
[flake8]
max-complexity = 8
max-annotations-complexity = 4
max-line-length = 120
ignore = W503, P103, D
exclude = node_modules,env,venv,venv36
var_names_exclude_pathes = node_modules,env,venv,venv36
assert_allowed_in_pathes = tests,migrations,env,venv,venv36
adjustable-default-max-complexity = 8
per-file-ignores =
__init__.py: F401
tests/*: TAE001
ban-relative-imports = True
min-python-version = 3.7.0
min-coverage-percents = 100
[mypy]
ignore_missing_imports = True
warn_no_return = False
check_untyped_defs = True
warn_unused_ignores = True
disallow_untyped_defs = True
allow_redefinition = True
[mypy-*.conftest]
ignore_errors = True
[mypy-conftest]
ignore_errors = True
[mypy-*.tests.*]
ignore_errors = True
[coverage:report]
exclude_lines =
pragma: no cover
raise AssertionError
raise NotImplementedError
if typing.TYPE_CHECKING: