Fix paths in tox.ini file
[multicloud/k8s.git] / tox.ini
diff --git a/tox.ini b/tox.ini
index 2e59345..049deae 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -14,10 +14,13 @@ deps =
    rstcheck
 whitelist_externals = bash
 commands = bash -c "find {toxinidir} -not -path {toxinidir}/.tox/\* \
+   -not -path {toxinidir}/pkg/dep/\* \
+   -not -path {toxinidir}/src/k8splugin/vendor/\* \
+   -not -path {toxinidir}/src/github.com/\* \
    -name \*.sh -type f \
 # E006 check for lines longer than 79 columns
    -print0 | xargs -0 bashate -v -iE006"
-   bash -c "find {toxinidir} -not -path {toxinidir}/.tox/\* \
+   bash -c "find {toxinidir}/docs \
    -name \*.rst -type f -print0 | xargs -0 rstcheck --report warning"
 
 [testenv:docs]