[tox] envlist = py3-django22-codestyle-coverage, py3-django32, pylint toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/chrono/{env:BRANCH_NAME:} [testenv] usedevelop = coverage: True nocoverage: False setenv = DJANGO_SETTINGS_MODULE=chrono.settings CHRONO_SETTINGS_FILE=tests/settings.py BRANCH_NAME={env:BRANCH_NAME:} SETUPTOOLS_USE_DISTUTILS=stdlib coverage: COVERAGE=--junitxml=junit-{envname}.xml --cov-report xml --cov-report html --cov=chrono/ --cov-config .coveragerc deps = pytest-cov pytest-django pytest-xdist pytest!=5.3.3 WebTest mock<4 httmock pylint pylint-django django-webtest pytz pyquery django-mellon>=1.6.1 pytest-freezegun django22: django>=2.2,<2.3 django22: django-filter<22 django22: psycopg2-binary<2.9 django32: django>=3.2,<3.3 django32: django-filter>=22 django32: psycopg2-binary>=2.9 codestyle: pre-commit git+https://git.entrouvert.org/publik-django-templatetags.git commands = ./getlasso3.sh python3 setup.py compile_translations py.test {env:COVERAGE:} {posargs:tests/} codestyle: pre-commit run --all-files --show-diff-on-failure [testenv:pylint] setenv = NUMPROCESSES={env:NUMPROCESSES:6} deps = pytest-django pytest!=5.3.3 WebTest mock<4 httmock pylint pylint-django django-webtest pytz pyquery django-mellon>=1.6.1 pytest-freezegun psycopg2-binary<2.9 git+https://git.entrouvert.org/publik-django-templatetags.git commands = ./getlasso3.sh pylint: ./pylint.sh chrono/ tests/