oslo-specs/tox.ini
HeroicHitesh 44b552e071 Remove testr
* Remove .testr.conf as there is no tests dir and update .gitignore
  accordingly
* Use 3.18.0 as the minversion for tox in order to use
  allowlist_externals option

Signed-off-by: HeroicHitesh <email.hiteshkumar@gmail.com>
Change-Id: I0efdc4dd0ce658cc13c543946c6af1da867e6d4b
2021-06-30 20:32:32 +05:30

27 lines
571 B
INI

[tox]
minversion = 3.18.0
envlist = docs
skipsdist = true
ignore_basepython_conflict = true
[testenv]
basepython = python3
[testenv:docs]
allowlist_externals =
rm
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/doc/requirements.txt
commands =
rm -rf doc/build
sphinx-build -W --keep-going -b html doc/source doc/build/html
[testenv:spelling]
deps =
-r{toxinidir}/requirements.txt
sphinxcontrib-spelling
PyEnchant
commands =
sphinx-build --keep-going -b spelling doc/source doc/build/spelling