-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.cfg
More file actions
71 lines (65 loc) · 1.6 KB
/
setup.cfg
File metadata and controls
71 lines (65 loc) · 1.6 KB
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
[flake8]
inline-quotes = single
max-line-length = 120
max_complexity = 10
exclude = due_evaluator/__version__.py
classmethod-decorators = classmethod, classproperty
select =
# minimal - do not remove it! (this set will be enforced by pipeline in the future)
E, # pep8 error
W, # pep8 warning
F, # pyflakes
S, # bandit
BLK, # black
B0, # bugbear
A0, # builtins
I0, # isort
M, # mutable
N8, # naming
# recommended - you can disable it (move it to 'ignore')
E8, # eradicate
T0, # print
Q0, # quotes
ABS, # absolute imports
A5, # assertive
H, # cohesion
CCR, # cognitive complexity
ignore =
# optional - you can enable it (move it to 'select')
D1, # dostrings
YTT, # flake8-2020
C4, # comprehensions
EXE, # executable
T1, # fixme
I9, # requirements
SIM, # simplify
PD, # pandas-vet
FS, # fstring
PT, # pytest-style
D100, # module docstring
D104, # package docstring
D105, # magic method docstring
D107, # __init__() docstring
E203, # whitespace before ':'
E501, # line length, replaced by B950
W503 # line break before binary operator
per-file-ignores =
tests/*:D101,D102,D103,D106,S101,H
[mypy]
platform = linux
ignore_missing_imports = True
show_column_numbers = True
show_error_context = False
follow_imports = skip
warn_return_any = True
strict_optional = True
warn_no_return = True
warn_redundant_casts = True
warn_unreachable = True
[isort]
profile = black
line_length = 120
default_section = THIRDPARTY
sections = FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER
known_first_party = due_evaluator
skip = setup_binary.py