summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorJoe Gordon <joe.gordon0@gmail.com>2013-07-25 19:39:41 -0700
committerJoe Gordon <joe.gordon0@gmail.com>2013-07-30 14:34:31 -0700
commit8ff53b42678faf7fcdd34b53ec05553cefaec7de (patch)
treef96b6314b364bd56da3f9ea36224f1b345f6ac27 /tox.ini
parentcc72e8ffbfbb990ab97378f830953e7138a6fe25 (diff)
downloadnova-8ff53b42678faf7fcdd34b53ec05553cefaec7de.tar.gz
Fix and Gate on H303 (no wildcard imports)
Wildcard imports make reading code unnecessarily confusing because they make it harder to see where a functions comes from. We had two types of wildcard imports in the code. Unneeded ones in test files that are just removed, and some that we actually want which are kept using the '# noqa' comment to tell flake8 to skip specific checks (such as H303) for that line. Change-Id: Id4705011579659fd74a4aaa05ac541e9694c483e
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini2
1 files changed, 1 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 4bbc1d03b5..5322b61286 100644
--- a/tox.ini
+++ b/tox.ini
@@ -45,7 +45,7 @@ commands = {posargs}
# H102 Apache 2.0 license header not found
# H501 Do not use locals() for string formatting
-ignore = E121,E122,E123,E124,E126,E127,E128,E711,E712,H102,H302,H303,H404,F403,H501,F811,F841,N309
+ignore = E121,E122,E123,E124,E126,E127,E128,E711,E712,H102,H302,H404,F403,H501,F811,F841,N309
exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,*plugins/xenserver*,tools
[hacking]