tox: Remove redundant environment variables

TOX_ENV_NAME and VIRTUAL_ENV are both set by tox by default.

cf. https://github.com/tox-dev/tox/commit/be5373bab

Change-Id: Iee7c6fc0bd33865a8b8d8a8cf101cffd38515c2d
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
This commit is contained in:
Takashi Kajinami
2026-02-16 17:48:15 +09:00
parent 54393e1ea0
commit 9342c23595
+1 -4
View File
@@ -5,13 +5,11 @@ envlist = py310,py313,pep8,samples
[testenv]
extras = {env:RALLY_EXTRAS:}
setenv = VIRTUAL_ENV={envdir}
LANG=en_US.UTF-8
setenv = LANG=en_US.UTF-8
LC_CTYPE="en.US.UTF-8"
LANGUAGE=en_US:en
LC_ALL=C
PYTHONHASHSEED=0
TOX_ENV_NAME={envname}
PYTEST_REPORT = {env:PYTEST_REPORT:{toxinidir}/.test_results/{envname}_report.html}
TESTS_DIR = "tests/unit"
allowlist_externals = find
@@ -43,7 +41,6 @@ passenv =
HOME
[testenv:zuul-ansible-lint]
setenv = VIRTUAL_ENV={envdir}
distribute = false
deps = ansible-lint
commands = ansible-lint --strict --config-file tests/ci/playbooks/.ansible-lint tests/ci/playbooks