[tox] envlist = py3-django{22,32}-codestyle-coverage toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/publik-django-templatetags/{env:BRANCH_NAME:} [testenv] usedevelop = coverage: True nocoverage: False setenv = SETUPTOOLS_USE_DISTUTILS=stdlib JUNIT=--junitxml=junit-{envname}.xml coverage: COVERAGE=--cov-report xml --cov-report html --cov=publik_django_templatetags/ deps = django22: django>=2.2,<2.3 django32: django>=3.2,<3.3 pytest pytest-cov pytest-django WebTest psycopg2-binary<2.9 psycopg2<2.9 pre-commit commands = pytest {posargs: {env:JUNIT:} {env:COVERAGE:} tests/} codestyle: pre-commit run --all-files --show-diff-on-failure