Use same flake8 config as in zuul
Currently the flake8 config seems to be broken as only H231, H233 and F are selected but nothing from the formatting checks (E). I think we should use the same set as in zuul. Change-Id: Ifd48129386d42e87be8326358d43fc1c0d8b0eac
This commit is contained in:
parent
7d79770840
commit
924caa9496
5
tox.ini
5
tox.ini
@ -43,7 +43,8 @@ basepython = python3
|
|||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
ignore = E123,E125,H
|
# These are ignored intentionally in openstack-infra projects;
|
||||||
select = H231,H233,F
|
# please don't submit patches that solely correct them or enable them.
|
||||||
|
ignore = E124,E125,E129,E402,H,W503
|
||||||
show-source = True
|
show-source = True
|
||||||
exclude = .venv,.tox,dist,doc,build,*.egg
|
exclude = .venv,.tox,dist,doc,build,*.egg
|
||||||
|
Loading…
x
Reference in New Issue
Block a user