-
Notifications
You must be signed in to change notification settings - Fork 2
/
.flake8
88 lines (88 loc) · 3.04 KB
/
.flake8
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
[flake8]
max-line-length = 120
ignore =
# ==============================================================
# ========= Default list of things Flake8 would ignore ========
# ==============================================================
# E121: Continuation line under-indented for hanging indent
# https://www.flake8rules.com/rules/E121.html
E121,
# E123: Closing bracket does not match indentation of opening bracket's line
# https://www.flake8rules.com/rules/E123.html
E123,
# E126: Continuation line over-indented for hanging indent
# https://www.flake8rules.com/rules/E126.html
E126,
# E226: Missing whitespace around arithmetic operator
# https://www.flake8rules.com/rules/E226.html
E226,
# E24: ??? Hard to find doc on why this undocumented code's in default list
# E24,
# E704: Multiple statements on one line (def)
# https://www.flake8rules.com/rules/E704.html
E704,
# W503: Line break occurred before a binary operator
# https://www.flake8rules.com/rules/W503.html
W503,
# W504: Line break occurred after a binary operator
# https://www.flake8rules.com/rules/W503.html
W504,
# ==============================================================
# ===== Other things we think it shouldn't complain about =====
# ==============================================================
# F541: f-string is missing placeholders
# https://flake8.pycqa.org/en/latest/user/error-codes.html
F541,
# ==============================================================
# ===== We want these complaints eventually, but not now. =====
# ==============================================================
# E111 indentation is not a multiple of 4
E111,
# E116 unexpected indentation (comment)
E116,
# E122 continuation line missing indentation or outdented
E122,
# E124 closing bracket does not match visual indentation
E124,
# E127 continuation line over-indented for visual indent
E127,
# E128 continuation line under-indented for visual indent
E128,
# E201 whitespace after '['
E201,
# E202 whitespace before '}'
E202,
# E203 whitespace before ':'
E203,
# E221 multiple spaces before operator
E221,
# E222 multiple spaces after operator
E222,
# E231 missing whitespace after ':
E231,
# E241 multiple spaces after ':'
E241,
# E251 unexpected spaces around keyword / parameter equals
E251,
# E261 at least two spaces before inline comment
E261,
# E262 inline comment should start with '# '
E262,
# E265 block comment should start with '# '
E265,
# E266 too many leading '#' for block comment
E266,
# E272 multiple spaces before keyword
E272,
# W291 trailing whitespace
W291,
# W293 blank line contains whitespace
W293,
# E302 expected 2 blank lines
E302,
# E303 too many blank lines
E303,
# W391 blank line at end of file
W391,
# E501 line too long
E501,