Files
freezer-specs/tox.ini
taoguo b142e6378c Update http to https
modify http link to https

and up min version in tox.ini

Change-Id: I139a47bb055d1c4fb1ec784462e15676c1b608fb
2025-03-21 16:18:33 +00:00

38 lines
742 B
INI

[tox]
minversion = 4.0
envlist = docs,pep8,py3
skipsdist = True
ignore_basepython_conflict = True
[testenv]
basepython = python3
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 = -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 = -r{toxinidir}/test-requirements.txt
commands =
flake8 {posargs}
[flake8]
ignore = E128
exclude = .venv,.git,.tox,doc,.eggs