[DOC] Select the right Istanbul upper constaints 24/128624/2
authorCédric Ollivier <cedric.ollivier@orange.com>
Thu, 14 Apr 2022 08:21:03 +0000 (10:21 +0200)
committerCédric Ollivier <cedric.ollivier@orange.com>
Fri, 15 Apr 2022 08:01:31 +0000 (10:01 +0200)
It basically precises the right urls.
Issue-ID: DOC-782

Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: I3c8a7177e2699525a0a5ff60a076fd983d914113

tox.ini

diff --git a/tox.ini b/tox.ini
index bbd00f8..f41f5dc 100644 (file)
--- 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  \{\} +