diff options
author | Kiall Mac Innes <kiall@managedit.ie> | 2012-11-18 02:21:08 +0000 |
---|---|---|
committer | Kiall Mac Innes <kiall@managedit.ie> | 2012-11-18 02:52:38 +0000 |
commit | 0a53f232c22818f84d9c6eef3d5117cdb518a2ce (patch) | |
tree | b6d0e0db9455374c44ef95a040ff564f0b97d20d | |
parent | f121e0ff57cc9d15761461f5a9b33abd5fc6c040 (diff) | |
download | designate-0a53f232c22818f84d9c6eef3d5117cdb518a2ce.tar.gz |
Add PyFlakes tox env
Change-Id: I4195a203c30d0104c33c41b0e60fa8fc2a89643b
-rw-r--r-- | tools/test-requires | 3 | ||||
-rw-r--r-- | tox.ini | 12 |
2 files changed, 12 insertions, 3 deletions
diff --git a/tools/test-requires b/tools/test-requires index f330f93a..87d7847f 100644 --- a/tools/test-requires +++ b/tools/test-requires @@ -1,10 +1,9 @@ +unittest2 nose nosexcover openstack.nose_plugin nosehtmloutput mox coverage -pep8==1.3.3 sphinx sphinxcontrib-httpdomain -unittest2 @@ -1,5 +1,6 @@ [tox] -envlist = py26,py27,pep8 +envlist = py26,py27,pep8,pyflakes +minversion = 1.4.0 [tox:jenkins] downloadcache = ~/cache/pip @@ -18,7 +19,16 @@ commands = nosetests --no-path-adjustment [] sitepackages = False [testenv:cover] +deps = {[testenv]deps} + coverage commands = nosetests --no-path-adjustment --with-coverage --cover-erase --cover-package=moniker --cover-inclusive [] [testenv:pep8] +deps = {[testenv]deps} + pep8==1.3.3 commands = pep8 --repeat --show-source --exclude=.venv,.tox,dist,doc,openstack moniker setup.py bin/moniker-api bin/moniker-central bin/moniker-agent + +[testenv:pyflakes] +deps = {[testenv]deps} + pyflakes==0.5.0 +commands = pyflakes moniker bin setup.py |