Pass positional arguments to Tox environments commands.
This commit is contained in:
commit
9893834e85
1 changed files with 2 additions and 2 deletions
4
tox.ini
4
tox.ini
|
@ -23,12 +23,12 @@ commands =
|
|||
[testenv:black]
|
||||
basepython = python3.7
|
||||
commands =
|
||||
black .
|
||||
black {posargs} .
|
||||
|
||||
[testenv:end-to-end]
|
||||
deps = -rtest_requirements.txt
|
||||
commands =
|
||||
pytest tests/end-to-end
|
||||
pytest {posargs} tests/end-to-end
|
||||
|
||||
[testenv:isort]
|
||||
deps = {[testenv]deps}
|
||||
|
|
Loading…
Reference in a new issue