blob: 45e17be697a6010f531a2c08c008f6f30959f660 [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]
Doug Hellmann96ed5f82018-09-26 18:52:19 -040015basepython = python3
ricolin9b02d1e2017-12-29 15:35:49 +080016setenv =
17 PYTHONPATH = .
18commands =
19 flake8
20 check-uuid --package heat_tempest_plugin
21
22[testenv:uuidgen]
23setenv =
24 PYTHONPATH = .
25commands =
26 check-uuid --fix --package heat_tempest_plugin
rabid2916d02017-09-22 18:19:24 +053027
rabid2916d02017-09-22 18:19:24 +053028[testenv:venv]
Doug Hellmann96ed5f82018-09-26 18:52:19 -040029basepython = python3
rabid2916d02017-09-22 18:19:24 +053030commands = {posargs}
31
32[flake8]
33show-source = True
34builtins = _
35exclude=.venv,.git,.tox,*lib/python*,private,.eggs