Files
parso/tox.ini
2020-07-24 01:21:44 +02:00

15 lines
389 B
INI

[tox]
envlist = {py36,py37,py38}
[testenv]
extras = testing
deps =
coverage: coverage
setenv =
# https://github.com/tomchristie/django-rest-framework/issues/1957
# tox corrupts __pycache__, solution from here:
PYTHONDONTWRITEBYTECODE=1
coverage: TOX_TESTENV_COMMAND=coverage run -m pytest
commands =
{env:TOX_TESTENV_COMMAND:pytest} {posargs}
coverage: coverage report