-
Notifications
You must be signed in to change notification settings - Fork 1
/
.flake8
34 lines (34 loc) · 980 Bytes
/
.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
[flake8]
ignore =
# E241: multiple spaces after ':'
E241,
# E251: unexpected spaces around keyword / parameter equals
E251,
# E261: at least two spaces before inline comment
E261,
# E265: block comment should start with '# '
E265,
# E501: line too long
E501,
# E302: expected 2 blank lines, found 1
E302,
# E305: expected 2 blank lines after class or function definition, found 1
E305,
# E401: multiple imports on one line
E401,
# E266: too many leading '#' for block comment
E266,
# E402: module level import not at top of file
E402,
# E731: do not assign a lambda expression, use a def (too many false positives)
E731,
# E741: ambiguous variable name 'l'
E741,
# E722: do not use bare except'
E722,
# W504: line break after binary operator
W504,
# A003: builtin class attribute
A003
exclude = .git,.tox,__pycache__,mesonui/ui,build,dist
max-line-length = 120