Pass posargs to pytest in main testenv
This commit is contained in:
parent
358aed7c31
commit
917a0dd0a0
1 changed files with 1 additions and 1 deletions
2
tox.ini
2
tox.ini
|
@ -15,7 +15,7 @@ install_command =
|
||||||
commands_pre =
|
commands_pre =
|
||||||
find {toxinidir} -type f -not -path '{toxinidir}/.tox/*' -path '*/__pycache__/*' -name '*.py[c|o]' -delete
|
find {toxinidir} -type f -not -path '{toxinidir}/.tox/*' -path '*/__pycache__/*' -name '*.py[c|o]' -delete
|
||||||
commands =
|
commands =
|
||||||
pytest
|
pytest {posargs}
|
||||||
py36,py37: black --check .
|
py36,py37: black --check .
|
||||||
isort --recursive --check-only --settings-path setup.cfg .
|
isort --recursive --check-only --settings-path setup.cfg .
|
||||||
flake8 .
|
flake8 .
|
||||||
|
|
Loading…
Reference in a new issue