Merge "Update flake8 ignore rules to match Zuul"
This commit is contained in:
commit
60a1f1a729
4
tox.ini
4
tox.ini
@ -58,12 +58,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