blob: da1672b955b5be166b80f374f648364aa526f9ee [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
Sean Daguef237ccb2013-01-04 15:19:14 -050018commands = python tools/hacking.py --ignore=E122,E125,E126 --repeat --show-source --exclude=.venv,.tox,dist,doc,openstack,*egg .