33 lines
655 B
INI
33 lines
655 B
INI
[tox]
|
|
minversion = 1.6
|
|
skipsdist = True
|
|
envlist = py26,py27,py33,pep8
|
|
|
|
[testenv]
|
|
deps = -r{toxinidir}/requirements.txt
|
|
-r{toxinidir}/test-requirements.txt
|
|
install_command = pip install -U {opts} {packages}
|
|
usedevelop = True
|
|
commands =
|
|
bash -x {toxinidir}/run_tests.sh {posargs}
|
|
|
|
|
|
[testenv:venv]
|
|
deps = -r{toxinidir}/requirements.txt
|
|
-r{toxinidir}/test-requirements.txt
|
|
commands = {posargs}
|
|
|
|
[testenv:pep8]
|
|
deps = hacking>=0.9.2,<0.10
|
|
commands =
|
|
flake8
|
|
|
|
[flake8]
|
|
ignore = H405,E126
|
|
exclude=.venv,.git,.tox,dist,*egg,*.egg-info,build,examples,doc
|
|
show-source = True
|
|
|
|
[hacking]
|
|
import_exceptions =
|
|
tooz.openstack.common.gettextutils
|