From 924caa94963b2d89ee23bb2b3dd7b47930095613 Mon Sep 17 00:00:00 2001 From: Tobias Henkel Date: Thu, 5 Oct 2017 10:31:21 +0200 Subject: [PATCH] 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 --- tox.ini | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 49502aad0..91133dca1 100644 --- a/tox.ini +++ b/tox.ini @@ -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