Separate tox dependencies
[kuberef.git] / tox.ini
diff --git a/tox.ini b/tox.ini
index 4c9b4bd..53ab1a7 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
 [tox]
-minversion = 3.15
+minversion = 3.5
 skipsdist = True
 envlist = lint,docs
 
@@ -8,10 +8,13 @@ passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
 
 [testenv:lint]
 deps =
-   {env:BASHATE_INSTALL_PATH:bashate}
-   yamllint
+   -r{toxinidir}/test-requirements.txt
 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"