blob: fa7c1ec7074a70a53bf25cf57dceafea599fd0e7 [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
Pavlo Shchelokovskyyd111a432020-12-15 10:29:11 +020013 -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2023.1}
HeroicHitesh67f98f82021-05-20 12:32:36 +053014commands = stestr run --slowest {posargs}
rabid2916d02017-09-22 18:19:24 +053015
16[testenv:pep8]
ricolin9b02d1e2017-12-29 15:35:49 +080017setenv =
18 PYTHONPATH = .
19commands =
20 flake8
21 check-uuid --package heat_tempest_plugin
22
23[testenv:uuidgen]
24setenv =
25 PYTHONPATH = .
26commands =
27 check-uuid --fix --package heat_tempest_plugin
rabid2916d02017-09-22 18:19:24 +053028
rabid2916d02017-09-22 18:19:24 +053029[testenv:venv]
rabid2916d02017-09-22 18:19:24 +053030commands = {posargs}
31
32[flake8]
33show-source = True
34builtins = _
Andreas Jaegerd74b4382020-04-07 11:44:04 +020035# W504 line break after binary operator
36# E741 ambiguous variable name 'l'
37ignore = W504,E741
rabid2916d02017-09-22 18:19:24 +053038exclude=.venv,.git,.tox,*lib/python*,private,.eggs