-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
25 lines (24 loc) · 1.55 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
[pycodestyle]
# W191 (Indentation contains tabs): We use tabs
# E701 (Multiple statements on one line): Sometimes it's better
# E101 (Indentation contains mixed spaces and tabs): Tabs for indentation, spaces for alignment
# E252 (Spaces around parameter equals): No spaces connects them visually
# W503 (Line break before binary operator): It has to be before or after, and we prefer before, since you can always see the operators
# E111 (Indentation is not a multiple of four): Sometimes the line length isn't a multiple of four
# E128 (Visual Indent): I have my own ideas about continuation lines
# E306 (Spacing for Nested Definitions): Sometimes it makes more sense to not
ignore = W191, E701, E101, E252, W503, E111, E128, E306
# Come on, 79 is way too few characters
max-line-length = 160
[flake8]
# W191 (Indentation contains tabs): We use tabs
# E701 (Multiple statements on one line): Sometimes it's better
# E101 (Indentation contains mixed spaces and tabs): Tabs for indentation, spaces for alignment
# E252 (Spaces around parameter equals): No spaces connects them visually
# W503 (Line break before binary operator): It has to be before or after, and we prefer before, since you can always see the operators
# E111 (Indentation is not a multiple of four): Sometimes the line length isn't a multiple of four
# E128 (Visual Indent): I have my own ideas about continuation lines
# E306 (Spacing for Nested Definitions): Sometimes it makes more sense to not
ignore = W191, E701, E101, E252, W503, E111, E128, E306
# Come on, 79 is way too few characters
max-line-length = 160