Skip to content

Commit a568259

Browse files
committed
tox: allow passing multiple extra pytest arguments
Example: `tox -e py311-unit -- --lf --pdb`
1 parent 139728e commit a568259

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tox.ini

+2-2
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,10 @@ commands_pre =
6666
py312-lintreadme: python -m build --outdir {distdir}
6767

6868
commands =
69-
py3{9,10,11,12,13}-unit: make coverage-report coverage.xml PYTEST_EXTRA={posargs}
69+
py3{9,10,11,12,13}-unit: make coverage-report coverage.xml PYTEST_EXTRA="{posargs}"
7070
py3{9,10,11,12,13}-bandit: bandit -r cwltool
7171
py3{9,10,11,12,13}-lint: make flake8 format-check codespell-check
72-
py3{9,10,11,12,13}-mypy: make mypy mypyc PYTEST_EXTRA={posargs}
72+
py3{9,10,11,12,13}-mypy: make mypy mypyc PYTEST_EXTRA="{posargs}"
7373
py312-shellcheck: make shellcheck
7474
py312-pydocstyle: make diff_pydocstyle_report
7575
py312-lintreadme: twine check {distdir}/*

0 commit comments

Comments
 (0)