blob: 0f59a0f5947baa5ef4547d05bb3105f84c8e3943 [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
21commands = pyflakes gerritx/cmd
22
23[testenv:venv]
24commands = {posargs}