masakari-specs/tox.ini

31 lines
595 B
INI

[tox]
minversion = 2.0
envlist = docs
skipsdist = True
[testenv]
basepython = python3
skip_install = True
setenv =
VIRTUAL_ENV={envdir}
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/requirements.txt
[testenv:venv]
commands = {posargs}
[testenv:docs]
allowlist_externals =
rm
commands =
rm -fr doc/build/
sphinx-build -W -b html doc/source doc/build/html
[testenv:spelling]
deps =
-r{toxinidir}/requirements.txt
sphinxcontrib-spelling
PyEnchant
commands = sphinx-build -b spelling doc/source doc/build/spelling