From bb93401dc58e11828f3539f968069877816cb556 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Wed, 22 Jul 2026 08:13:00 +0200 Subject: [PATCH] tox: fix posargs substitution --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 903bcd6..2958d35 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -109,7 +109,7 @@ dependency_groups = ["dev"] set_env = { LC_ALL = "C", LANG = "C", COVERAGE_FILE = ".coverage.{env_name}" } commands = [ ["python", "--version"], - ["pytest", "--cov", "{posargs}"], + ["pytest", "--cov", { replace = "posargs", default = ["tests/"], extend = true } ], ] [tool.tox.env.coverage]