Skip to content

Commit

Permalink
Pass CLI positional argument through to pytest
Browse files Browse the repository at this point in the history
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
  • Loading branch information
jdufresne committed Oct 16, 2021
1 parent f7993a7 commit 28f624c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tox.ini
Expand Up @@ -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
Expand Down

0 comments on commit 28f624c

Please sign in to comment.