| [tox] |
| envlist = py3,pep8 |
| minversion = 3.18.0 |
| skipsdist = True |
| ignore_basepython_conflict = True |
| |
| [testenv] |
| basepython = python3 |
| 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/2023.1} |
| commands = stestr run --slowest {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:venv] |
| commands = {posargs} |
| |
| [flake8] |
| show-source = True |
| builtins = _ |
| # W504 line break after binary operator |
| # E741 ambiguous variable name 'l' |
| ignore = W504,E741 |
| exclude=.venv,.git,.tox,*lib/python*,private,.eggs |