X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=tox.ini;h=1879ded24e31da187349b27ca87589408be84405;hb=refs%2Fchanges%2F82%2F70882%2F11;hp=4c9b4bd05f349f5e2f7930529fa421aaf1fe04db;hpb=15af69c32d0338d7a659ddcf23cfb339973d18e2;p=kuberef.git diff --git a/tox.ini b/tox.ini index 4c9b4bd..1879ded 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -minversion = 3.15 +minversion = 3.5 skipsdist = True envlist = lint,docs @@ -10,8 +10,13 @@ passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY deps = {env:BASHATE_INSTALL_PATH:bashate} yamllint + rstcheck whitelist_externals = bash commands = bash -c "find {toxinidir} \ -not -path {toxinidir}/.tox/\* \ - -name \*.sh | xargs bashate -v" +# E006 check for lines longer than 79 columns + -name \*.sh | xargs bashate -v -iE006" bash -c "yamllint {toxinidir}" + bash -c "find {toxinidir} \ + -not -path {toxinidir}/.tox/\* \ + -name \*.rst | xargs rstcheck"