Remove sig_network_serial
[kuberef.git] / tox.ini
1 ; SPDX-FileCopyrightText: 2021 Anuket contributors
2 ;
3 ; SPDX-License-Identifier: Apache-2.0
4
5 [tox]
6 minversion = 3.5
7 skipsdist = True
8 envlist = lint,docs
9
10 [testenv]
11 passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
12
13 [testenv:lint]
14 deps =
15    -r{toxinidir}/test-requirements.txt
16 whitelist_externals = bash
17 commands = bash -c "find {toxinidir} \
18    -not -path {toxinidir}/.tox/\* \
19    -not -path {toxinidir}/.venv/\* \
20 # E006 check for lines longer than 79 columns
21    -name \*.sh | xargs bashate -v -iE006"
22    bash -c "yamllint {toxinidir}"
23    bash -c "find {toxinidir} \
24    -not -path {toxinidir}/.tox/\* \
25    -name \*.rst | xargs rstcheck"
26
27 [testenv:docs]
28 deps = -rdocs/requirements.txt
29 commands =
30     sphinx-build -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
31     echo "Generated docs available in {toxinidir}/docs/_build/html"
32 whitelist_externals = echo
33
34 [testenv:docs-linkcheck]
35 deps = -rdocs/requirements.txt
36 commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck