8ecd19a395
This also create a new Tox environment for building project documentation Change-Id: I8b958df06caede619213157f4e175ade186fb885
29 lines
433 B
INI
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
|