-
Notifications
You must be signed in to change notification settings - Fork 4
/
.flake8
24 lines (22 loc) · 1.24 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
[flake8]
extend-ignore = W191,E501,E301,E302,E303,E265,E201,E202,E713,E126,E128,E226,E221,E266,E127,E251,E305,E241,E272,E261,W504,E117
# For some reason the imports here trigger a linting error even though they are actually used
exclude = high_templar/backend_adapter/__init__.py
# W191 indentation uses tabs
# E501 line too long
# E301,E302,E303 wrong number of blank lines
# E265 block comment should start with '# '
# E201,E202 whitespace inside parentheses
# E713 test for membership should be 'not in'
# E126,E128 continuation line under/over-indented
# E226 missing whitespace around arithmetic operator
# E221 multiple spaces before operator
# E266 too many leading '#' for block comment
# E127 continuation line over-indented for visual indent
# E251 unexpected spaces around keyword / parameter equals
# E305 expected 2 blank lines after class or function definition, found 3
# E241 multiple spaces after ':'
# E272 multiple spaces before keyword
# E261 at least two spaces before inline comment
# W504 line break after binary operator
# E117 over-indented (does not work with tabs)