X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=tox.ini;h=5cebea874096695a2d6c323568494f3324641395;hb=17db22b1ed8c1ed8e0b524f6c4a4b9fae35e0a4f;hp=2e593451295dab0bf9976fbb0d5110682a2ac59a;hpb=eca57b7812e275acb3ce92177b1f81cfce378a94;p=multicloud%2Fk8s.git diff --git a/tox.ini b/tox.ini index 2e593451..5cebea87 100644 --- a/tox.ini +++ b/tox.ini @@ -1,3 +1,12 @@ +# SPDX-license-identifier: Apache-2.0 +############################################################################## +# Copyright (c) 2018 +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## + [tox] minversion = 1.6 skipsdist = True @@ -14,10 +23,14 @@ deps = rstcheck whitelist_externals = bash commands = bash -c "find {toxinidir} -not -path {toxinidir}/.tox/\* \ + -not -path {toxinidir}/pkg/dep/\* \ + -not -path {toxinidir}/pkg/mod/\* \ + -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]