-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
25 lines (23 loc) · 902 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
[flake8]
disable-noqa = True
max-line-length = 100
extend-exclude = .git,__pycache__
extend-ignore =
E203, # whitespace before : is not PEP8 compliant & conflicts with black
T100, # line contains FIXME
T101, # line contains TODO
D10, # missing docstring *
D2, # docstring whitespaces
D40, # docstring styles
E501, # line too long
R504, # unnecessary variable assignment before return statement.
R505, # unnecessary else after return statement.
C408, # Unnecessary dict call - rewrite as a literal.
SIM117,# Use single with statement instead of multiple with statements
per-file-ignores =
# INP001: File is part of an implicit namespace package. Add an __init__.py?
# T201 print found.
scripts/*: INP001, T201
# INP001: File is part of an implicit namespace package. Add an __init__.py?
# T201 print found.
benchmarking/*: INP001, T201