blob: e2dbdc842a459ad87ca8710407a93ea505b84723 [file] [log] [blame]
Jay Pipesa6aa5f22012-07-24 19:40:29 -04001[tox]
2envlist = pep8
3
4[testenv]
5setenv = VIRTUAL_ENV={envdir}
6 NOSE_WITH_OPENSTACK=1
7 NOSE_OPENSTACK_COLOR=1
8 NOSE_OPENSTACK_RED=15
9 NOSE_OPENSTACK_YELLOW=3
10 NOSE_OPENSTACK_SHOW_ELAPSED=1
11 NOSE_OPENSTACK_STDOUT=1
12deps = -r{toxinidir}/tools/pip-requires
13 -r{toxinidir}/tools/test-requires
14commands = nosetests {posargs}
15
16[testenv:pep8]
Zhongyue Luoe6321ef2012-09-17 16:45:50 +080017deps = pep8==1.3.3
Matthew Treinish8b372892012-12-07 17:13:16 -050018commands = python tools/hacking.py --ignore=N4,E121,E122,E125,E126 --repeat --show-source --exclude=.venv,.tox,dist,doc,openstack .