deb-python-ironic-lib/tox.ini
2015-02-26 04:15:08 -08:00

27 lines
664 B
INI

[tox]
envlist = py27,pep8
[testenv]
sitepackages = False
usedevelop = True
install_command = pip install -U {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
PYTHONHASHSEED=0
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands =
# Use the lockutils wrapper to ensure that external locking works correctly
lockutils-wrapper python setup.py test --slowest --testr-args='{posargs}'
[flake8]
show-source = True
ignore = E123,E126,E127,E128,E129,E711,H405,H904
exclude = .venv,.tox,dist,doc,*.egg,.update-venv
[testenv:pep8]
commands = flake8 {posargs}
[testenv:venv]
setenv = PYTHONHASHSEED=0
commands = {posargs}