Skip to content

Commit

Permalink
tox.ini: do not use "pytest" inside of "{posargs}" (#255)
Browse files Browse the repository at this point in the history
The typical use case is pass args to pytest, not change the executable
(pytest) itself:

> tox -e … -- -k foo
  • Loading branch information
blueyed committed Feb 11, 2019
1 parent 6a26680 commit 9180b5c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ deps =
pip_pre = true

commands =
{posargs:pytest -vv}
pytest {posargs:-vv}

[testenv:spell]
setenv =
Expand Down Expand Up @@ -71,6 +71,3 @@ commands =
python setup.py check --strict --metadata --restructuredtext
check-manifest {toxinidir}
flake8 src tests setup.py



0 comments on commit 9180b5c

Please sign in to comment.