Files
python-blazarclient/tox.ini

30 lines
782 B
INI

[tox]
envlist = py27,pep8
[testenv]
install_command = pip install -U {opts} {packages}
deps = -r{toxinidir}/test-requirements.txt
-r{toxinidir}/requirements.txt
setenv = VIRTUAL_ENV={envdir}
DISCOVER_DIRECTORY=climateclient/tests
commands =
python -m climateclient.openstack.common.lockutils python setup.py testr --slowest --testr-args="{posargs}"
[testenv:pep8]
commands = flake8
[flake8]
show-source = true
builtins = _
# Ignore currently failing tests for now
ignore = E265,H405
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg
[testenv:venv]
commands = {posargs}
[testenv:cover]
setenv = VIRTUAL_ENV={envdir}
commands =
python -m climateclient.openstack.common.lockutils python setup.py testr --coverage --testr-args='{posargs}'