Files
zaqar-tempest-plugin/tox.ini
Takashi Kajinami 0f1acb08af Remove useless cover target
This repository contains code for testing and we have no real benefit
with code coverage.

Change-Id: I5c96e6abedd189f405d7ddf92816b732a50994bf
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
2025-10-03 23:49:12 +09:00

42 lines
1.0 KiB
INI

[tox]
minversion = 3.18.0
envlist = py3,pypy,pep8
skipsdist = True
[testenv]
usedevelop = True
setenv =
PYTHONWARNINGS=default::DeprecationWarning
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = stestr run --slowest {posargs}
[testenv:pep8]
commands = flake8 {posargs}
[testenv:venv]
commands = {posargs}
[testenv:docs]
deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/doc/requirements.txt
commands = sphinx-build -a -W -b html doc/source doc/build/html
[testenv:releasenotes]
deps = {[testenv:docs]deps}
commands =
sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
[testenv:debug]
commands = oslo_debug_helper {posargs}
[flake8]
# E123, E125 skipped as they are invalid PEP-8.
show-source = True
ignore = E123,E125
builtins = _
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build