blob: b36dc954679745f9c8ebddffdfb021cd8cbe29ce [file] [log] [blame]
Monty Taylorda3bada2012-11-22 09:38:22 -08001[tox]
2envlist = py26,py27,pep8
3
4[testenv]
5setenv = VIRTUAL_ENV={envdir}
6deps = -r{toxinidir}/tools/pip-requires
7 -r{toxinidir}/tools/test-requires
8commands = nosetests {posargs}
9
10[testenv:pep8]
11deps = pep8==1.3.3
12commands =
13 pep8 --exclude=.venv,.tox,dist,doc,openstack,*lib/python*,*egg \
14 --repeat --show-source .
15
16[testenv:cover]
17setenv = NOSE_WITH_COVERAGE=1
18
19[testenv:pyflakes]
20deps = pyflakes
Monty Taylor674a6482012-11-28 09:39:39 -080021commands = pyflakes jeepyb/cmd
Monty Taylorda3bada2012-11-22 09:38:22 -080022
23[testenv:venv]
24commands = {posargs}