-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathsetup.cfg
37 lines (32 loc) · 976 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
[flake8]
max-complexity = 6
max-annotations-complexity = 4
max-line-length = 120
ignore = W503, P103, D
# P103 should be disabled since it threats non-format strings with braces (like default='{}')
# all DXXX errors should be disabled because fuck forcing stupid docstrings everywhere
exclude = env,.venv,venv,venv36,db/migrations
var_names_exclude_pathes = env,.venv,venv,venv36
assert_allowed_in_pathes = tests,migrations,env,.venv,venv,venv36
adjustable-default-max-complexity = 6
min_coverage_percents = 100
use_class_attributes_order_strict_mode = True
per-path-max-complexity:
tests/: 4
per-file-ignores =
__init__.py: F401
*/tests/*: TAE001
[mypy]
ignore_missing_imports = True
warn_no_return = False
check_untyped_defs = True
warn_unused_ignores = True
disallow_untyped_defs = True
allow_redefinition = True
[rozental]
exclude = lib/,dist/
reorder_vocabulary = True
[smartcoverage]
exclude = tests,env,venv,.venv,venv36
[opensource_watchman]
type = project