-
Notifications
You must be signed in to change notification settings - Fork 0
/
.flake8
35 lines (35 loc) · 1.52 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
[flake8]
max-line-length = 140
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