David Shrewsbury ccbc605d8b Switch from pep8 to flake8
Change-Id: I13a77aac647ca5e47d9451472aa1f79eacefe8ab
2013-08-14 14:39:30 -07:00

26 lines
588 B
INI

[tox]
envlist = py27,pep8
[testenv]
deps = -r{toxinidir}/tools/pip-requires
-r{toxinidir}/tools/test-requires
commands = bash -c 'if [ ! -d ./.testrepository ] ; then testr init ; fi'
bash -c 'testr run --parallel {posargs} ; RET=$? ; echo "Slowest Tests" ; testr slowest && exit $RET'
[tox:jenkins]
downloadcache = ~/cache/pip
[testenv:py27]
[testenv:pep8]
deps = flake8
commands = flake8
[testenv:pyflakes]
deps = pyflakes
commands = pyflakes libraclient
[flake8]
show-source = True
exclude = .venv,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,tests,build