Ignore E006 bashate rule
[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 # E006 check for lines longer than 79 columns
18    -name \*.sh | xargs bashate -v -iE006"
19    bash -c "yamllint {toxinidir}"
20    bash -c "find {toxinidir} \
21    -not -path {toxinidir}/.tox/\* \
22    -name \*.rst | xargs rstcheck"