From 4c9050d4be4f813e79b71ade28c7d71920851ed0 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 12 Dec 2022 09:29:56 +0100 Subject: Update tox.ini syntax for tox 4 compat See https://tox.wiki/en/4.0.3/faq.html#tox-4-changed-ini-rules --- tox.ini | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 8d33750f3..f9c7aab45 100644 --- a/tox.ini +++ b/tox.ini @@ -14,7 +14,20 @@ setenv = PYTEST_QT_API=pyqt5 pyqt{,512,513,514,515,5150}: LINK_PYQT_SKIP=true cov: PYTEST_ADDOPTS=--cov --cov-report xml --cov-report=html --cov-report= -passenv = PYTHON DISPLAY XAUTHORITY HOME USERNAME USER CI XDG_* QUTE_* DOCKER QT_QUICK_BACKEND FORCE_COLOR DBUS_SESSION_BUS_ADDRESS +passenv = + PYTHON + DISPLAY + XAUTHORITY + HOME + USERNAME + USER + CI + XDG_* + QUTE_* + DOCKER + QT_QUICK_BACKEND + FORCE_COLOR + DBUS_SESSION_BUS_ADDRESS basepython = py: {env:PYTHON:python3} py3: {env:PYTHON:python3} @@ -178,7 +191,9 @@ commands = bash scripts/dev/run_shellcheck.sh {posargs} [testenv:mypy] basepython = {env:PYTHON:python3} -passenv = TERM MYPY_FORCE_TERMINAL_WIDTH +passenv = + TERM + MYPY_FORCE_TERMINAL_WIDTH deps = -r{toxinidir}/requirements.txt -r{toxinidir}/misc/requirements/requirements-dev.txt -- cgit v1.2.3-54-g00ecf