blob: 07e31808f600513885aebee39036bf21f2ad4f9c [file] [log] [blame]
rabid2916d02017-09-22 18:19:24 +05301[tox]
HeroicHitesh67f98f82021-05-20 12:32:36 +05302envlist = py3,pep8
3minversion = 3.18.0
rabid2916d02017-09-22 18:19:24 +05304skipsdist = True
Ghanshyam4780eec2020-01-25 12:25:04 -06005ignore_basepython_conflict = True
rabid2916d02017-09-22 18:19:24 +05306
7[testenv]
Ghanshyam4780eec2020-01-25 12:25:04 -06008basepython = python3
rabid2916d02017-09-22 18:19:24 +05309userdevelop = True
10setenv = VIRTUAL_ENV={envdir}
11deps = -r{toxinidir}/requirements.txt
12 -r{toxinidir}/test-requirements.txt
HeroicHitesh67f98f82021-05-20 12:32:36 +053013commands = stestr run --slowest {posargs}
rabid2916d02017-09-22 18:19:24 +053014
15[testenv:pep8]
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]
rabid2916d02017-09-22 18:19:24 +053029commands = {posargs}
30
31[flake8]
32show-source = True
33builtins = _
Andreas Jaegerd74b4382020-04-07 11:44:04 +020034# W504 line break after binary operator
35# E741 ambiguous variable name 'l'
36ignore = W504,E741
rabid2916d02017-09-22 18:19:24 +053037exclude=.venv,.git,.tox,*lib/python*,private,.eggs