devstack-plugin-tobiko/tox.ini
Federico Ressi 8ecd19a395 Use the ansible openstack project template
This also create a new Tox environment for
building project documentation

Change-Id: I8b958df06caede619213157f4e175ade186fb885
2021-01-13 14:13:33 +01:00

29 lines
433 B
INI

[tox]
skipsdist = True
envlist = linters,docs
minversion = 3.8.0
[testenv]
usedevelop=False
skip_install = true
[testenv:linters]
deps =
-r {toxinidir}/linters-requirements.txt
commands =
pre-commit --version
pre-commit autoupdate
pre-commit run --all-files
pre-commit install
[testenv:docs]
deps =
-r{toxinidir}/doc/requirements.txt
changedir = doc/source
commands =
sphinx-build -W -b html . ../build/html