[tox] envlist = py3-black-junit-coverage toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/imio-teleservices-templatetags/{env:BRANCH_NAME:} [testenv] sitepackages = false usedevelop = coverage: True nocoverage: False setenv = DJANGO_SETTINGS_MODULE=wcs.settings SETUPTOOLS_USE_DISTUTILS=stdlib WCS_SETTINGS_FILE=tests/settings.py coverage: COVERAGE=--cov-report xml --cov-report html --cov=imio_teleservices_templatetags/ junit: JUNIT=--junitxml=junit-{envname}.xml deps = pytest pytest-cov pytest-django WebTest requests vobject qrcode Pillow workalendar python-magic docutils langdetect django-ratelimit<3 git+https://git.entrouvert.org/debian/django-ckeditor.git https://git.entrouvert.org/godo.js.git/snapshot/godo.js-0.6.tar.gz pyproj pyzbar bleach dnspython gadjo Quixote>=3.0,<3.2 django>=2.2,<2.3 pre-commit commands = ./get_wcs.sh py.test {posargs: {env:JUNIT:} {env:COVERAGE:} tests/} black: pre-commit run black --all-files --show-diff-on-failure