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

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

48 lines
1.2 KiB
INI

[tox]
minversion = 4.4.0
envlist = pep8
ignore_basepython_conflict=true
[testenv]
basepython = python3
usedevelop = True
setenv =
VIRTUAL_ENV={envdir}
PYTHONWARNINGS=default::DeprecationWarning
deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/test-requirements.txt
commands = stestr run --slowest {posargs}
[testenv:pep8]
deps = pre-commit
allowlist_externals = pre-commit
commands = pre-commit run --all-files --show-diff-on-failure {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 -W -b html doc/source doc/build/html
[testenv:pdf-docs]
deps = {[testenv:docs]deps}
allowlist_externals = make
commands = sphinx-build -b latex doc/source doc/build/pdf
make -C doc/build/pdf
[testenv:debug]
commands = oslo_debug_helper {posargs}
[flake8]
# [W503] Line break occurred before a binary operator. Conflicts with W504.
ignore = W503
show-source = True
builtins = _
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build
import-order-style = pep8
application-import-names = ironic_tempest_plugin
filename = *.py