aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Morales <victor.morales@intel.com>2018-09-13 01:34:32 -0700
committerVictor Morales <victor.morales@intel.com>2018-09-13 01:34:32 -0700
commit136c21b65e58eab0c8d4c3e09d0c839eb27c53b6 (patch)
treeae1fb7b66b1ca2ed7a1296f9e9fe2e87c72a2e6f
parentcb64a5fed1b10daa301235a2ef956b4805da99d3 (diff)
Fix paths in tox.ini file
The execution of tox tool was including some paths that are not part of the project, therefore they need to be excluded. This change modifies the tox.ini file to exclude them. Change-Id: I7dd6cfa006805e812c93fdcb5ebbc37311408ab5 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
-rw-r--r--tox.ini5
1 files changed, 4 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 2e593451..049deaec 100644
--- 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]