heat-tempest-plugin/tox.ini

38 lines
744 B
INI

[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
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