From 4fdd09ab5276e4b17495a0b86df43b5fce8c9a30 Mon Sep 17 00:00:00 2001 From: Zhenguo Niu Date: Thu, 16 Jul 2015 12:45:31 +0800 Subject: [PATCH] Remove H302, H803, H904 These rules were removed from hacking. H803: https://review.openstack.org/#/c/101498/ H904: https://review.openstack.org/#/c/101701/ H302: https://review.openstack.org/#/c/142586/ Change-Id: I9f7ec4ed8093972335bd5bbfa1686878ca1d833e --- tox.ini | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index cbfdf1ffa4..ac82763f0b 100644 --- a/tox.ini +++ b/tox.ini @@ -51,13 +51,12 @@ commands = --namespace keystonemiddleware.auth_token [flake8] -# H803 skipped on purpose per list discussion. # E711 is ignored because it is normal to use "column == None" in sqlalchemy # The rest of the ignores are TODOs # New from hacking 0.9: E129, E131, H407, H405, H904 # E251 Skipped due to https://github.com/jcrocholl/pep8/issues/301 -ignore = E131,E251,H302,H405,H803,H904,E711 +ignore = E131,E251,H405,E711 exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,tools,magnum/common/pythonk8sclient [hacking]