commit: 1eb9de2fa75eee72aed0d177fb464a29d3f307ea
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 4 10:03:59 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sun Mar 5 17:13:22 2023 +0000
URL:
https://gitweb.gentoo.org/proj/pkgcore/pkgcheck.git/commit/?id=1eb9de2f
tox: add {posargs} to pytest invocation
This lets us do e.g.:
```
$ tox -e py39 -- src/pkgcheck/checks/git.py # run just one test
```
Signed-off-by: Sam James <sam <AT> gentoo.org>
Closes: https://github.com/pkgcore/pkgcheck/pull/556
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
tox.ini | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tox.ini b/tox.ini
index 06b8ef12..52283ec9 100644
--- a/tox.ini
+++ b/tox.ini
@@ -9,7 +9,7 @@ download = true
extras =
test
commands =
- pytest
+ pytest {posargs}
# build docs
[testenv:docs]