summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDjLegolas <djlegolas@protonmail.com>2023-01-23 02:30:13 +0200
committerCalum Lind <calumlind+deluge@gmail.com>2023-02-23 17:10:40 +0000
commitc4b9cc7292b3fb8756feee6ce3da485cd97ef556 (patch)
treee91876fef736f51bd34e4a7fde186744c67a8f6a
parentfa750c9fd0537fb31e774d51c572137ee6b83830 (diff)
downloaddeluge-c4b9cc7292b3fb8756feee6ce3da485cd97ef556.tar.gz
deluge-c4b9cc7292b3fb8756feee6ce3da485cd97ef556.tar.bz2
deluge-c4b9cc7292b3fb8756feee6ce3da485cd97ef556.zip
[tox] update tox.ini for support for `tox` 4
`tox` 4 now demands that `passenv` parameter will be comma-separated and not space-seperated. Closes: https://github.com/deluge-torrent/deluge/pull/409
-rw-r--r--tox.ini4
1 files changed, 2 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index 405610d7c..7f241b043 100644
--- a/tox.ini
+++ b/tox.ini
@@ -56,7 +56,7 @@ deps =
[testenv]
install_command = python -m pip install --ignore-installed {opts} {packages}
-passenv = DISPLAY PYTHONPATH APPDATA
+passenv = DISPLAY,PYTHONPATH,APPDATA
setenv =
PYTHONPATH = {toxinidir}
PYTEST_ADDOPTS = --verbose --capture=no
@@ -101,7 +101,7 @@ commands =
[testenv:lint]
sitepackages = False
-passenv = HOMEPATH SSH_AUTH_SOCK
+passenv = HOMEPATH,SSH_AUTH_SOCK
deps = {[baselint]deps}
commands = pre-commit run --all-files