summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorKiall Mac Innes <kiall@managedit.ie>2012-11-18 03:02:18 +0000
committerKiall Mac Innes <kiall@managedit.ie>2012-11-18 03:02:18 +0000
commitd7976fdb7cf9e17d77375e587309feb535f41dc5 (patch)
tree040b78afddeaae2ccfa2b4f690541d065de246fa /tox.ini
parent77409845403b51945b52e25550bbc599d4cd71af (diff)
downloadpython-designateclient-d7976fdb7cf9e17d77375e587309feb535f41dc5.tar.gz
Add PyFlakes tox env
Change-Id: I91af105b2b8427b71257c492f2b2830c5602aee2
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini17
1 files changed, 13 insertions, 4 deletions
diff --git a/tox.ini b/tox.ini
index 57ef511..40907dc 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,9 @@
[tox]
-envlist = py26,py27,pep8
+envlist = py26,py27,pep8,pyflakes
+minversion = 1.4.0
+
+[tox:jenkins]
+downloadcache = ~/cache/pip
[testenv]
deps = -r{toxinidir}/tools/pip-requires
@@ -13,11 +17,16 @@ setenv = VIRTUAL_ENV={envdir}
commands = true # nosetests --no-path-adjustment []
sitepackages = False
-[tox:jenkins]
-downloadcache = ~/cache/pip
-
[testenv:cover]
+deps = {[testenv]deps}
+ coverage
+ nosexcover
commands = true # nosetests --no-path-adjustment --with-coverage --cover-erase --cover-package=monikerclient --cover-inclusive []
[testenv:pep8]
+deps = pep8==1.3.3
commands = pep8 --repeat --show-source --exclude=.venv,.tox,dist,doc,openstack monikerclient setup.py bin/moniker
+
+[testenv:pyflakes]
+deps = pyflakes==0.5.0
+commands = pyflakes monikerclient bin setup.py