summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorJoe Gordon <jogo@cloudscaling.com>2013-01-17 18:06:53 -0500
committerJoe Gordon <jogo@cloudscaling.com>2013-01-24 09:52:58 -0500
commit4845fc2720a0ab3ff4f15fc8f3f00573b617ce5b (patch)
tree4d8a01e2b9591c39eb3aa93b92be8c6e6df4783d /tox.ini
parent4220e0110e1e45a1886d8a8b186aa4cdc2ef9455 (diff)
downloadnova-4845fc2720a0ab3ff4f15fc8f3f00573b617ce5b.tar.gz
nova-4845fc2720a0ab3ff4f15fc8f3f00573b617ce5b.tar.xz
nova-4845fc2720a0ab3ff4f15fc8f3f00573b617ce5b.zip
Fix hacking N302 import only modules
* Includes some general tools/hacking cleanup * Fix several N302 cases * Disable N302 until all cases are fixed Change-Id: Iddba07ff13e10dc41a6930749044bb8c0572d279
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini6
1 files changed, 4 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index e98f30151..e7e7e59bd 100644
--- a/tox.ini
+++ b/tox.ini
@@ -18,9 +18,11 @@ downloadcache = ~/cache/pip
deps=pep8==1.3.3
commands =
python tools/hacking.py --doctest
- python tools/hacking.py --ignore=E12,E711,E721,E712,N403,N404 --show-source \
+ python tools/hacking.py --ignore=E12,E711,E721,E712,N403,N404,N302 \
+ --show-source \
--exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg .
- python tools/hacking.py --ignore=E12,E711,E721,E712,N403,N404 --show-source \
+ python tools/hacking.py --ignore=E12,E711,E721,E712,N403,N404,N302 \
+ --show-source \
--filename=nova* bin
[testenv:pylint]