2016-12-19 17:06:43 +08:00
|
|
|
[flake8]
|
2016-12-22 15:31:18 +08:00
|
|
|
ignore =
|
2017-01-09 18:14:24 +08:00
|
|
|
# E241: multiple spaces after ':'
|
|
|
|
E241,
|
|
|
|
# E251: unexpected spaces around keyword / parameter equals
|
|
|
|
E251,
|
2016-12-22 15:31:18 +08:00
|
|
|
# E261: at least two spaces before inline comment
|
|
|
|
E261,
|
2018-07-02 21:48:50 +08:00
|
|
|
# E265: block comment should start with '# '
|
|
|
|
E265,
|
2016-12-22 15:31:18 +08:00
|
|
|
# E501: line too long
|
2016-12-29 18:57:06 +08:00
|
|
|
E501,
|
|
|
|
# E302: expected 2 blank lines, found 1
|
2017-01-09 18:14:24 +08:00
|
|
|
E302,
|
|
|
|
# E305: expected 2 blank lines after class or function definition, found 1
|
|
|
|
E305,
|
|
|
|
# E401: multiple imports on one line
|
2017-01-21 15:31:05 +08:00
|
|
|
E401,
|
2017-09-21 23:54:45 +08:00
|
|
|
# E266: too many leading '#' for block comment
|
2017-01-28 02:49:48 +08:00
|
|
|
E266,
|
2017-09-21 23:54:45 +08:00
|
|
|
# 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
|
2018-05-13 22:36:58 +08:00
|
|
|
# E741: ambiguous variable name 'l'
|
|
|
|
E741
|
|
|
|
# E722: do not use bare except'
|
|
|
|
E722
|
2018-11-24 04:40:33 +08:00
|
|
|
# W504: line break after binary operator
|
|
|
|
W504
|
2019-04-23 20:58:18 +08:00
|
|
|
# A003: builtin class attribute
|
|
|
|
A003
|
2016-12-22 15:31:18 +08:00
|
|
|
max-line-length = 120
|