Update flake8 ignore rules to match Zuul
These are the standard flake8 ignore rules for Zuul; synchronize them here for consistency. Change-Id: Ibdd105b3ea09f394a548e2bec13d0b53dea93363
This commit is contained in:
parent
0fdaf8d36b
commit
9643fb1ace
4
tox.ini
4
tox.ini
@ -56,12 +56,12 @@ commands =
|
|||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
# These are ignored intentionally in openstack-infra projects;
|
# These are ignored intentionally in Zuul projects;
|
||||||
# please don't submit patches that solely correct them or enable them.
|
# please don't submit patches that solely correct them or enable them.
|
||||||
# E402 - ansible modules put documentation before imports. Align to ansible.
|
# E402 - ansible modules put documentation before imports. Align to ansible.
|
||||||
# W504 - line break after binary operator, we cannot have both
|
# W504 - line break after binary operator, we cannot have both
|
||||||
# W503 and W504 enabled
|
# W503 and W504 enabled
|
||||||
ignore = E125,E129,E402,E741,W504,H
|
ignore = E124,E125,E129,E252,E402,E741,W503,W504,H
|
||||||
show-source = True
|
show-source = True
|
||||||
exclude =
|
exclude =
|
||||||
.venv,
|
.venv,
|
||||||
|
Loading…
Reference in New Issue
Block a user