From 43194f0d72d32fa7cbefb7cfbb89b29240806b07 Mon Sep 17 00:00:00 2001 From: Micu Matei-Marius Date: Tue, 28 Jun 2016 17:38:16 +0300 Subject: [PATCH] Removed H302, H305 and H307 I unlock the hacking requirements in test-requirements.txt Change-Id: I2a26845f16064be8c082d9cbe2e2d2bc48339314 Signed-off-by: Micu Matei-Marius --- test-requirements.txt | 4 ++-- tox.ini | 5 +---- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/test-requirements.txt b/test-requirements.txt index fc30489d..fe61f878 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,3 +1,3 @@ -hacking>=0.9.2,<0.10 +hacking>=0.11.0,<0.12 # Apache-2.0 nose -mock>=1.0.1 \ No newline at end of file +mock>=1.0.1 diff --git a/tox.ini b/tox.ini index 4890a175..d9b5e865 100644 --- a/tox.ini +++ b/tox.ini @@ -27,10 +27,7 @@ commands = {posargs} max-line-length = 120 # TODO: ignored checks should be enabled in the future # H201 no 'except:' at least use 'except Exception:' -# H302 import only modules -# H305 imports not grouped correctly -# H307 like imports should be grouped together # H405 multi line docstring summary not separated with an empty line # H904 Wrap long lines in parentheses instead of a backslash -ignore = F821,H201,H302,H305,H307,H405,H904,E126,E125,H306,E302,E122 +ignore = F821,H201,H405,H904,E126,E125,H306,E302,E122 exclude=.venv,.git,.tox,dist,*openstack/common*,*egg,build