Files
freezer-specs/tox.ini
Ivan Anfimov b66fd97e63 tox: Remove ineffective ignore_basepython_conflict
Change-Id: I538e63c8d8c7e8b8f31dbf10aea5947bfdd64cb3
Signed-off-by: Ivan Anfimov <lazekteam@gmail.com>
2025-09-13 22:07:38 +00:00

38 lines
762 B
INI

[tox]
minversion = 4.6.0
envlist = docs,pep8,py3
skipsdist = True
[testenv]
usedevelop = True
setenv = VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/requirements.txt
allowlist_externals =
find
rm
commands =
find . -type f -name "*.pyc" -delete
stestr run --slowest {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 =
rm -rf doc/build/html doc/build/doctrees
find . -type f -name "*.pyc" -delete
sphinx-build -W -b html doc/source doc/build/html
[testenv:pep8]
skip_install = true
deps = {[testenv:docs]deps}
commands =
flake8 {posargs}
[flake8]
ignore = E128
exclude = .venv,.git,.tox,doc,.eggs