Update flake8 rules
This commit is contained in:
parent
1dbf04db66
commit
01bf989c5d
1 changed files with 6 additions and 3 deletions
9
.flake8
9
.flake8
|
@ -1,10 +1,13 @@
|
||||||
[flake8]
|
[flake8]
|
||||||
ignore =
|
ignore =
|
||||||
# ignore long lines
|
# long lines
|
||||||
E501,
|
E501,
|
||||||
# deprecated rule
|
# deprecated rule: https://www.flake8rules.com/rules/W503.html
|
||||||
W503,
|
W503,
|
||||||
# class member shadows builtin
|
# conflict with black on PEP8 interpretation
|
||||||
|
E203,
|
||||||
|
# class attribute is shadowing a python builtin
|
||||||
A003,
|
A003,
|
||||||
|
|
||||||
max-complexity = 10
|
max-complexity = 10
|
||||||
format = %(path)s:%(row)d:%(col)d: %(code)s %(text)s https://lintlyci.github.io/Flake8Rules/rules/%(code)s.html
|
format = %(path)s:%(row)d:%(col)d: %(code)s %(text)s https://lintlyci.github.io/Flake8Rules/rules/%(code)s.html
|
||||||
|
|
Reference in a new issue