From 28f624c116024c21e0d6aef9a8c7985b8ea80e6a Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Sat, 16 Oct 2021 08:01:16 -0700 Subject: [PATCH] Pass CLI positional argument through to pytest A development convenience to pass arguments like -v -x and others. See: https://tox.wiki/en/latest/config.html#substitutions-for-positional-arguments-in-commands --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 78486f2..efa6ae6 100644 --- a/tox.ini +++ b/tox.ini @@ -21,7 +21,7 @@ skip_missing_interpreters = true deps = pytest pytest-cov -commands = pytest --cov-report term-missing --cov distro +commands = pytest --cov-report term-missing --cov distro {posargs} [testenv:lint] deps = pre-commit