summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2022-04-14 10:21:03 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2022-04-15 10:01:31 +0200
commit5a86094b99d0c3e91600b30face00203cc4dd664 (patch)
tree6417bdc86529f6868b953e29e8b95482a85c054c
parent5c053711c58455e0a3cc3fe799ff00c595733288 (diff)
[DOC] Select the right Istanbul upper constaints
It basically precises the right urls. Issue-ID: DOC-782 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: I3c8a7177e2699525a0a5ff60a076fd983d914113
-rw-r--r--tox.ini28
1 files changed, 14 insertions, 14 deletions
diff --git a/tox.ini b/tox.ini
index bbd00f85c4..f41f5dcfa4 100644
--- a/tox.ini
+++ b/tox.ini
@@ -14,24 +14,24 @@ ignore-path-errors=docs/helm-search.txt;D001
[testenv:doc8]
deps =
-r{toxinidir}/requirements.txt
- -chttps://git.onap.org/doc/plain/etc/upper-constraints.os.txt
- -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt
+ -chttps://git.onap.org/doc/plain/etc/upper-constraints.os.txt?h=istanbul
+ -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=istanbul
commands =
- doc8 docs/
[testenv:docs]
deps =
-r{toxinidir}/requirements.txt
- -chttps://git.onap.org/doc/plain/etc/upper-constraints.os.txt
- -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt
+ -chttps://git.onap.org/doc/plain/etc/upper-constraints.os.txt?h=istanbul
+ -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=istanbul
commands =
sphinx-build -q -W -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
[testenv:docs-linkcheck]
deps =
-r{toxinidir}/requirements.txt
- -chttps://git.onap.org/doc/plain/etc/upper-constraints.os.txt
- -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt
+ -chttps://git.onap.org/doc/plain/etc/upper-constraints.os.txt?h=istanbul
+ -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=istanbul
commands = sphinx-build -q -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck
[testenv:spelling]
@@ -39,8 +39,8 @@ commands = sphinx-build -q -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxi
whitelist_externals = wget
deps =
-r{toxinidir}/requirements.txt
- -chttps://git.onap.org/doc/plain/etc/upper-constraints.os.txt
- -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt
+ -chttps://git.onap.org/doc/plain/etc/upper-constraints.os.txt?h=istanbul
+ -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=istanbul
changedir={toxinidir}/docs
commands =
wget -nv https://git.onap.org/doc/plain/docs/spelling_wordlist.txt -O spelling_wordlist.txt
@@ -50,8 +50,8 @@ commands =
basepython = python3
deps =
-r{toxinidir}/requirements.txt
- -chttps://git.onap.org/doc/plain/etc/upper-constraints.os.txt
- -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt
+ -chttps://git.onap.org/doc/plain/etc/upper-constraints.os.txt?h=istanbul
+ -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=istanbul
commands =
gitlint
@@ -69,16 +69,16 @@ commands =
[testenv:autopep8]
deps =
-r{toxinidir}/requirements.txt
- -chttps://git.onap.org/doc/plain/etc/upper-constraints.os.txt
- -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt
+ -chttps://git.onap.org/doc/plain/etc/upper-constraints.os.txt?h=istanbul
+ -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=istanbul
commands =
autopep8 --max-line-length 120 --in-place --recursive kubernetes/ TOSCA/ docs/
[testenv:pylint]
deps =
-r{toxinidir}/requirements.txt
- -chttps://git.onap.org/doc/plain/etc/upper-constraints.os.txt
- -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt
+ -chttps://git.onap.org/doc/plain/etc/upper-constraints.os.txt?h=istanbul
+ -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=istanbul
whitelist_externals = find
commands =
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 \{\} +