[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
This commit is contained in:
DjLegolas 2023-01-23 02:30:13 +02:00 committed by Calum Lind
parent fa750c9fd0
commit c4b9cc7292
No known key found for this signature in database
GPG Key ID: 90597A687B836BA3
1 changed files with 2 additions and 2 deletions

View File

@ -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