From c7685eaa2c798bb896cc9e4d815af0daa8334dbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Bobbio=20=28Lunar=29?= <lunar@softwareheritage.org> Date: Wed, 1 Mar 2023 13:16:24 +0100 Subject: [PATCH] Require tox version 4 for consistency Even if our `tox.ini` is compatible with tox 3, the command line format changed with tox 4. For consistency in layout, usage and documentation, it seems best to update requirements to version 4. See: https://tox.wiki/en/latest/upgrading.html#updating-usage-with-e --- tox.ini | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index b8ef4295..fc2e4f24 100644 --- a/tox.ini +++ b/tox.ini @@ -1,9 +1,14 @@ [tox] +requires = + tox>4 envlist=flake8,black [testenv] basepython = python3 -passenv = SPHINXOPTS,SPHINXOPTCOLOR,JAVA_HOME +passenv = + SPHINXOPTS + SPHINXOPTCOLOR + JAVA_HOME [testenv:sphinx] extras = -- GitLab