summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorMonty Taylor <mordred@inaugust.com>2012-07-02 08:48:28 -0400
committerMonty Taylor <mordred@inaugust.com>2012-07-02 08:50:41 -0400
commit8d8d3b4296bf37f10c9b0faa0e86ebfdc8b05862 (patch)
treec1565380c10d99506ad29d8d1fc62e1ec388aa91 /tox.ini
parent019d953ef5b4bed7c53401375bfd7aa890fc0c1d (diff)
downloadnova-8d8d3b4296bf37f10c9b0faa0e86ebfdc8b05862.tar.gz
nova-8d8d3b4296bf37f10c9b0faa0e86ebfdc8b05862.tar.xz
nova-8d8d3b4296bf37f10c9b0faa0e86ebfdc8b05862.zip
Run hacking tests as part of the gate.
Nova has additional pep8 "plugins" that they expect to run as part of the gate. This patch will run tools/hacking.py instead of pep8 directly. Also, it fixes the hacking violaions in contrib, plugins and smoketests. Fixes bug 1010136 Change-Id: I86d8789218c197d5d4a43d1201465d340646a395
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 08aa9686a..4e1864d77 100644
--- a/tox.ini
+++ b/tox.ini
@@ -18,7 +18,7 @@ downloadcache = ~/cache/pip
[testenv:pep8]
deps = pep8==1.1
-commands = pep8 --repeat --show-source --exclude=.venv,.tox,dist,doc,*egg .
+commands = python tools/hacking.py --ignore=N4 --repeat --show-source --exclude=.venv,.tox,dist,doc,*egg .
[testenv:cover]
setenv = NOSE_WITH_COVERAGE=1