[tox] envlist = py3-django32-codestyle-coverage, 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 NUMPROCESSES={env:NUMPROCESSES:1} 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 WebTest mock<4 httmock pylint pylint-django django-webtest pytz pyquery django-mellon>=1.6.1 pytest-freezegun django-filter>=2.4,<23.2 weasyprint<52 django32: django>=3.2,<3.3 django32: psycopg2-binary>=2.9 djangorestframework>=3.12,<3.13 # matching debian bullseye codestyle: pre-commit git+https://git.entrouvert.org/publik-django-templatetags.git responses allowlist_externals = ./pylint.sh ./getlasso3.sh commands = ./getlasso3.sh python3 setup.py compile_translations py.test {posargs:-v {env:COVERAGE:} --numprocesses={env:NUMPROCESSES:1} 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 responses lxml commands = ./getlasso3.sh pylint: ./pylint.sh chrono/ tests/