8c96a7d472af8c63bd5115f2b7f8c75585694112
[kuberef.git] / tox.ini
1 [tox]
2 minversion = 3.15
3 skipsdist = True
4 envlist = lint,docs
5
6 [testenv]
7 passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
8
9 [testenv:lint]
10 deps =
11    {env:BASHATE_INSTALL_PATH:bashate}
12    yamllint
13    rstcheck
14 whitelist_externals = bash
15 commands = bash -c "find {toxinidir} \
16    -not -path {toxinidir}/.tox/\* \
17    -name \*.sh | xargs bashate -v"
18    bash -c "yamllint {toxinidir}"
19    bash -c "find {toxinidir} \
20    -not -path {toxinidir}/.tox/\* \
21    -name \*.rst | xargs rstcheck"