-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.cfg
78 lines (66 loc) · 1.11 KB
/
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
[flake8]
format = wemake
show-source = True
statistics = False
max-complexity = 6
max-line-length = 80
# wemake-python-styleguide
max-annotation-complexity = 4
i-control-code = False
extend-exclude =
.venv
ignore =
D100,
D104,
D401,
W504,
X100,
WPS113,
S101,
WPS201,
WPS202,
WPS214,
WPS215,
WPS235,
WPS305,
WPS320,
WPS433,
WPS436,
WPS440,
WPS450,
WPS612,
RST303,
RST304,
DAR103,
DAR203,
# TODO: Remove `D103` & `D101` in the next realease
D103,
D101,
DAR201,
per-file-ignores =
# We allow reexport:
floc/__init__.py: F401
docs/conf.py: E800
[isort]
include_trailing_comma = true
use_parentheses = true
multi_line_output = 3
line_length = 80
[coverage:run]
branch = True
[coverage:html]
title = Floc Coverage Report
[mypy]
# suppress errors about unsatisfied imports
ignore_missing_imports=True
# be strict
warn_return_any = True
strict_optional = True
warn_no_return = True
warn_redundant_casts = True
warn_unused_ignores = True
disallow_any_generics = True
disallow_untyped_defs = True
check_untyped_defs = True
# Temporally disabled
disallow_untyped_calls = False