blob: 7b8aeec13ed5b7303109e11873fc740197a58fac [file] [log] [blame]
rabid2916d02017-09-22 18:19:24 +05301[tox]
2envlist = py27,py35,pep8
3minversion = 0.1
4skipsdist = True
5
6[testenv]
7userdevelop = True
8setenv = VIRTUAL_ENV={envdir}
9deps = -r{toxinidir}/requirements.txt
10 -r{toxinidir}/test-requirements.txt
11commands = bash -c 'if [ ! -d ./.testrepository ] ; then testr init ; fi'
12 testr run {posargs}
13
14[testenv:pep8]
ricolin9b02d1e2017-12-29 15:35:49 +080015setenv =
16 PYTHONPATH = .
17commands =
18 flake8
19 check-uuid --package heat_tempest_plugin
20
21[testenv:uuidgen]
22setenv =
23 PYTHONPATH = .
24commands =
25 check-uuid --fix --package heat_tempest_plugin
rabid2916d02017-09-22 18:19:24 +053026
27[testenv:docs]
28deps = -r{toxinidir}/requirements.txt
29 -r{toxinidir}/test-requirements.txt
30 sphinxcontrib-httpdomain
31commands = python setup.py build_sphinx
32
33[testenv:venv]
34commands = {posargs}
35
36[flake8]
37show-source = True
38builtins = _
39exclude=.venv,.git,.tox,*lib/python*,private,.eggs