-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.cfg
21 lines (20 loc) · 1.02 KB
/
setup.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[flake8]
exclude = test*
ignore =
E203, # not pep8, black adds whitespace before ':'
W503, # not pep8, black adds line break before binary operator
# E301, # (E301) Expected 1 blank line, found 0
# E302, # (E302) Expected 2 blank lines, found 0
# E303, # (E303) Too many blank lines (3)
# E305, # (E305) Expected 2 blank lines after end of function or class; Sometimes I use 3 to break up a file
# E306, # (E306) expected 1 blank line before a nested definition [pep257]
# E309, # (E309) expected 1 blank line after class declaration [pep257]
W293, # Blank line contains whitespace. When I put my cursor inside a function, it should be at the same
# indentation (or one out) from the previous block in that function, not at the left side of the file.
# C901, # Function is too complex. I'll judge the appropriate level of complexity thank you very much
max_line_length = 120
[isort]
line_length = 120
multi_line_output = 3
include_trailing_comma = true
lines_after_imports = 2