[tox] toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/lingo/{env:BRANCH_NAME:} envlist = coverage-py3-django32-codestyle, pylint [testenv] usedevelop = True setenv = DJANGO_SETTINGS_MODULE=lingo.settings LINGO_SETTINGS_FILE=tests/settings.py TOX_WORK_DIR={toxworkdir} SETUPTOOLS_USE_DISTUTILS=stdlib coverage: COVERAGE=--cov-report xml --cov-report html --cov=lingo/ --cov-config .coveragerc -v DB_ENGINE=django.db.backends.postgresql_psycopg2 passenv = BRANCH_NAME deps = django32: django>=3.2,<3.3 pytest-cov pytest-django pytest-freezegun pytest!=5.3.3 WebTest mock<4 httmock pylint<3 astroid<3 pylint-django django32: django-webtest pyquery django32: psycopg2-binary django-mellon>=1.13 django-filter>=2.4,<2.5 git+https://git.entrouvert.org/publik-django-templatetags.git git+https://git.entrouvert.org/entrouvert/debian-django-ckeditor.git pre-commit commands = ./getlasso3.sh python manage.py compilemessages py.test {env:COVERAGE:} {posargs: --junitxml=junit-{envname}.xml tests/} codestyle: pre-commit run --all-files --show-diff-on-failure [testenv:pylint] setenv = DJANGO_SETTINGS_MODULE=lingo.settings LINGO_SETTINGS_FILE=tests/settings.py TOX_WORK_DIR={toxworkdir} SETUPTOOLS_USE_DISTUTILS=stdlib DB_ENGINE=django.db.backends.postgresql_psycopg2 deps = pytest-django pytest!=5.3.3 WebTest mock<4 httmock django-mellon>=1.13 pylint<3 astroid<3 pylint-django django-webtest pyquery psycopg2-binary git+https://git.entrouvert.org/publik-django-templatetags.git git+https://git.entrouvert.org/entrouvert/debian-django-ckeditor.git commands = ./getlasso3.sh ./pylint.sh lingo/ tests/ [testenv:bandit] usedevelop = True deps = bandit commands = bandit -r lingo