blob: 53502f16c2f933b615fb022a4c7f080d5bbd72d2 [file] [log] [blame]
[tox]
envlist = pep8
minversion = 0.1
skipsdist = True
[testenv]
userdevelop = True
setenv = VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/queens}
commands = bash -c 'if [ ! -d ./.testrepository ] ; then testr init ; fi'
testr run {posargs}
[testenv:pep8]
setenv =
PYTHONPATH = .
commands =
flake8
check-uuid --package heat_tempest_plugin
[testenv:uuidgen]
setenv =
PYTHONPATH = .
commands =
check-uuid --fix --package heat_tempest_plugin
[testenv:docs]
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
sphinxcontrib-httpdomain
commands = python setup.py build_sphinx
[testenv:venv]
commands = {posargs}
[flake8]
show-source = True
builtins = _
exclude=.venv,.git,.tox,*lib/python*,private,.eggs