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:
Tobias Henkel 2017-10-05 10:31:21 +02:00 committed by Tristan Cacqueray
parent 7d79770840
commit 924caa9496
1 changed files with 3 additions and 2 deletions

View File

@ -43,7 +43,8 @@ basepython = python3
commands = {posargs}
[flake8]
ignore = E123,E125,H
select = H231,H233,F
# These are ignored intentionally in openstack-infra projects;
# please don't submit patches that solely correct them or enable them.
ignore = E124,E125,E129,E402,H,W503
show-source = True
exclude = .venv,.tox,dist,doc,build,*.egg