From 95c9fc3d84ec1fafed3ab5ddfa1c580fc1227e02 Mon Sep 17 00:00:00 2001 From: thmsdt Date: Tue, 27 Feb 2024 11:30:46 +0100 Subject: update link to upper-constraints.txt fix allowlist_externals in tox.ini Issue-ID: DOC-823 Change-Id: If6519321db36dea6a7b84ec480d02bdd340c9c71 Signed-off-by: thmsdt --- docs/tox.ini | 6 +++--- tox.ini | 5 +++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/docs/tox.ini b/docs/tox.ini index 9d0f3ee..73e317e 100644 --- a/docs/tox.ini +++ b/docs/tox.ini @@ -7,7 +7,7 @@ skipsdist = true basepython = python3.8 deps = -r{toxinidir}/requirements-docs.txt - -chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt + -chttps://releases.openstack.org/constraints/upper/yoga -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=master commands = sphinx-build -q -b html -n -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/html @@ -16,7 +16,7 @@ commands = basepython = python3.8 deps = -r{toxinidir}/requirements-docs.txt - -chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt + -chttps://releases.openstack.org/constraints/upper/yoga -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=master commands = sphinx-build -q -b linkcheck -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/linkcheck @@ -25,7 +25,7 @@ commands = basepython = python3.8 deps = -r{toxinidir}/requirements-docs.txt - -chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt + -chttps://releases.openstack.org/constraints/upper/yoga -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=master commands = sphinx-build -q -b spelling -d {envtmpdir}/doctrees {toxinidir} {toxinidir}/_build/spellcheck diff --git a/tox.ini b/tox.ini index 8dc20c9..0bd2d9e 100644 --- a/tox.ini +++ b/tox.ini @@ -4,6 +4,7 @@ skipsdist=True envlist = py3, pylint, flake8diff [testenv] +allowlist_externals=/bin/cp, /bin/bash, /bin/rm distribute = False basepython=python3 setenv = @@ -26,7 +27,7 @@ deps = -r{toxinidir}/requirements.txt source=./apps/,./osdf/,osdfapp.py,./runtime/,solverapp.py [testenv:pylint] -whitelist_externals=bash +allowlist_externals=bash commands = bash -c "pylint --reports=y osdf apps runtime| tee pylint.out" [testenv:py3] @@ -34,7 +35,7 @@ basepython=python3 [testenv:flake8diff] basepython=python3 -whitelist_externals=bash +allowlist_externals=bash deps = hacking>=2.0.0 commands = bash -c "files=$(git diff HEAD^ HEAD --diff-filter=d --name-only | grep -E '(^apps\/|osdf\/|runtime\/)'| grep -E '*\.py$'); if [[ -z $files ]]; then exit 0; else flake8 $files; fi" -- cgit 1.2.3-korg