Pass posargs to pytest in main testenv

This commit is contained in:
Luke Murphy 2019-05-19 23:53:32 +02:00
parent 358aed7c31
commit 917a0dd0a0
No known key found for this signature in database
GPG key ID: 5E2EF5A63E3718CC

View file

@ -15,7 +15,7 @@ install_command =
commands_pre =
find {toxinidir} -type f -not -path '{toxinidir}/.tox/*' -path '*/__pycache__/*' -name '*.py[c|o]' -delete
commands =
pytest
pytest {posargs}
py36,py37: black --check .
isort --recursive --check-only --settings-path setup.cfg .
flake8 .