1 # SPDX-license-identifier: Apache-2.0
2 ##############################################################################
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
16 passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
18 install_command = pip install --no-cache-dir {opts} {packages}
22 {env:BASHATE_INSTALL_PATH:bashate}
24 whitelist_externals = bash
25 commands = bash -c "find {toxinidir} -not -path {toxinidir}/.tox/\* \
26 -not -path {toxinidir}/pkg/dep/\* \
27 -not -path {toxinidir}/pkg/mod/\* \
28 -not -path {toxinidir}/src/k8splugin/vendor/\* \
29 -not -path {toxinidir}/src/github.com/\* \
31 # E006 check for lines longer than 79 columns
32 -print0 | xargs -0 bashate -v -iE006"
33 bash -c "find {toxinidir}/docs \
34 -name \*.rst -type f -print0 | xargs -0 rstcheck --report warning"
38 commands = sphinx-build -W -b html docs docs/build/html