10 ignore-path-errors=docs/helm-search.txt;D001
13 deps = -rdocs/requirements-docs.txt
18 deps = -rdocs/requirements-docs.txt
20 sphinx-build -q -W -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
22 [testenv:docs-linkcheck]
23 deps = -rdocs/requirements-docs.txt
24 commands = sphinx-build -q -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck
28 whitelist_externals = wget
30 -rdocs/requirements-docs.txt
31 sphinxcontrib-spelling
33 changedir={toxinidir}/docs
35 wget -nv https://git.onap.org/doc/plain/docs/spelling_wordlist.txt -O spelling_wordlist.txt
36 sphinx-build -b spelling -d {envtmpdir}/doctrees . _build/spelling
46 [testenv:checkbashisms]
48 whitelist_externals = sh
52 sh -c 'which checkbashisms>/dev/null || sudo yum install devscripts-minimal || sudo apt-get install devscripts \
53 || (echo "checkbashisms command not found - please install it (e.g. sudo apt-get install devscripts | \
54 yum install devscripts-minimal )" >&2 && exit 1)'
55 find . -not -path '*/\.*' -name *.sh -exec checkbashisms -f \{\} +
60 autopep8 --max-line-length 120 --in-place --recursive kubernetes/ TOSCA/ docs/
64 whitelist_externals = find
66 find kubernetes/ TOSCA/ docs/ -name *.py -exec pylint --max-line-length=120 --disable=missing-docstring --method-rgx="(([a-z_][a-zA-Z0-9_]{2,})|(_[a-z0-9_]*)|(__[a-zA-Z][a-zA-Z0-9_]+__))$" --variable-rgx="[a-zA-Z_][a-zA-Z0-9_]{1,30}$" --reports=y --score=y --output-format=colorized \{\} +