summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2022-04-21 10:11:00 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2022-04-21 10:11:00 +0200
commit0eae61f38cf2c6101fdf31a4d242839bf792b09b (patch)
tree8a9139930f23c5f0a2e4e3032de29f9e11f17709
parent43da21288118b497e9bc3f385acf391fd95a43a8 (diff)
Leverage the right Jakarta upper constraints
Issue-ID: DOC-765 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: Ia6bdb67e0718a6bcd4fece2962ab4d020eec3cd8
-rw-r--r--tox.ini28
1 files changed, 14 insertions, 14 deletions
diff --git a/tox.ini b/tox.ini
index fdb8ea8..dec3aa6 100644
--- a/tox.ini
+++ b/tox.ini
@@ -7,8 +7,8 @@ skipsdist = true
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=jakarta
+ -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=jakarta
commands =
sphinx-build -W -q -b html -n -d {envtmpdir}/docs/doctrees {toxinidir}/docs {toxinidir}/docs/_build/html
echo "Generated docs available in {toxinidir}/docs/_build/html"
@@ -21,8 +21,8 @@ whitelist_externals =
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=jakarta
+ -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=jakarta
commands =
sphinx-build -b html -n -d {envtmpdir}/doctrees -c {toxinidir}/docs/ {toxinidir}/docs/guides/onap-developer/how-to-use-docs/templates {toxinidir}/_build/templates
echo "Generated docs available in {toxinidir}/_build/html/templates"
@@ -33,8 +33,8 @@ whitelist_externals =
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=jakarta
+ -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=jakarta
commands =
git submodule update --depth 100 --init
sphinx-build -q -b html -n -d {envtmpdir}/doctrees {toxinidir}/docs {toxinidir}/docs/_build/html
@@ -47,31 +47,31 @@ whitelist_externals =
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=jakarta
+ -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=jakarta
commands = sphinx-build -q -b linkcheck -d {envtmpdir}/doctrees {toxinidir}/docs {toxinidir}/docs/_build/linkcheck
[testenv:spellcheck]
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=jakarta
+ -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=jakarta
commands =
sphinx-build -b spelling -Dextensions=sphinxcontrib.spelling -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/docs/_build/spellcheck
[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=jakarta
+ -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=jakarta
commands =
autopep8 --max-line-length 120 --in-place {toxinidir}/docs/conf.py
[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=jakarta
+ -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=jakarta
commands =
pylint --max-line-length=120 --disable=missing-docstring --reports=y --score=y --output-format=colorized {toxinidir}/docs/conf.py