-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake8.conf
35 lines (31 loc) · 1.24 KB
/
flake8.conf
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]
select =
E, W, # pep8 errors and warnings
F, # pyflakes
C9, # McCabe
N8, # Naming Conventions
#B, S, # bandit
#C, # commas
#D, # docstrings
#P, # string-format
#Q, # quotes
ignore =
E122, # continuation line missing indentation or outdented
E123, # closing bracket does not match indentation of opening bracket's line
E127, # continuation line over-indented for visual indent
E131, # continuation line unaligned for hanging
E203, # whitespace before ':'
E225, # missing whitespace around operator
E226, # missing whitespace around arithmetic operator
E24, # multiple spaces after ',' or tab after ','
E275, # missing whitespace after keyword
E305, # expected 2 blank lines after end of function or class
E306, # expected 1 blank line before a nested definition
E402, # module level import not at top of file
E722, # do not use bare except, specify exception instead
E731, # do not assign a lambda expression, use a def
E741, # do not use variables named 'l', 'O', or 'I'
F722, # syntax error in forward annotation
W503, # line break before binary operator
W504, # line break after binary operator
max-line-length = 120