3 envlist = pre-commit,docs,docs-linkcheck,spelling
8 deps = -rdocs/requirements.txt
10 sphinx-build -q -j auto -W --keep-going -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
12 [testenv:docs-linkcheck]
14 deps = -rdocs/requirements.txt
15 commands = sphinx-build -q -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck
17 [testenv:pre-commit-install]
22 pre-commit install --hook-type commit-msg
24 [testenv:pre-commit-uninstall]
29 pre-commit uninstall --hook-type commit-msg
31 [testenv:pre-commit-autoupdate]
42 pre-commit run --all-files --show-diff-on-failure
43 pre-commit run gitlint-ci --hook-stage manual
54 -rdocs/requirements.txt
55 sphinxcontrib-spelling
57 allowlist_externals = sh
59 sh -c 'command enchant>/dev/null || command enchant-2 -v>/dev/null || sudo yum -y install enchant || (echo "enchant command not found - please install it (e.g. sudo apt-get install enchant | yum install enchant )" >&2 && exit 1)'
60 sphinx-build -q -W --keep-going -b spelling -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/spelling