-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.cfg
More file actions
28 lines (23 loc) · 755 Bytes
/
setup.cfg
File metadata and controls
28 lines (23 loc) · 755 Bytes
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
[flake8]
max-line-length = 119
ignore =
# these rules don't play well with black
E203 # whitespace before :
W503 # line break before binary operator
E501 # long code length, avoid long comment error.
W605 # invalid escape sequence.
E722 # ignore at ver. 0.3
exclude =
notebooks/**
data/**
tests/** # exclude unittest
per-file-ignores =
# __init__.py files are allowed to have unused imports and lines-too-long
*/__init__.py:F401
*/**/**/__init__.py:F401,E501
# tests don't have to respect
# E731: do not assign a lambda expression, use a def
tests/**:E731
# scripts don't have to respect
# E402: imports not at top of file (because we mess with sys.path)
scripts/**:E402