Add new B008 to flake8 ignores
This commit is contained in:
parent
fde0516ccf
commit
4ffdd9da0e
3
.flake8
3
.flake8
@ -1,6 +1,7 @@
|
|||||||
[flake8]
|
[flake8]
|
||||||
exclude = .*,__pycache__,resources.py
|
exclude = .*,__pycache__,resources.py
|
||||||
# B001: bare except
|
# B001: bare except
|
||||||
|
# B008: Do not perform calls in argument defaults. (fine with some Qt stuff)
|
||||||
# B305: .next() (false-positives)
|
# B305: .next() (false-positives)
|
||||||
# E128: continuation line under-indented for visual indent
|
# E128: continuation line under-indented for visual indent
|
||||||
# E226: missing whitespace around arithmetic operator
|
# E226: missing whitespace around arithmetic operator
|
||||||
@ -33,7 +34,7 @@ exclude = .*,__pycache__,resources.py
|
|||||||
# D413: Missing blank line after last section (not in pep257?)
|
# D413: Missing blank line after last section (not in pep257?)
|
||||||
# A003: Builtin name for class attribute (needed for attrs)
|
# A003: Builtin name for class attribute (needed for attrs)
|
||||||
ignore =
|
ignore =
|
||||||
B001,B305,
|
B001,B008,B305,
|
||||||
E128,E226,E265,E501,E402,E266,E722,E731,
|
E128,E226,E265,E501,E402,E266,E722,E731,
|
||||||
F401,
|
F401,
|
||||||
N802,
|
N802,
|
||||||
|
Loading…
Reference in New Issue
Block a user