[tox] envlist = codestyle-coverage-pylint toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/gadjo/{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=gadjo/ deps = pytest pytest-django WebTest psycopg2-binary psycopg2 pyquery codestyle: pre-commit coverage: pytest-cov pylint: pylint<3 pylint: astroid<3 pylint: pylint-django pylint: django>=3.2,<3.3 allowlist_externals = ./pylint.sh commands = pytest {posargs: {env:JUNIT:} {env:COVERAGE:} tests/} codestyle: pre-commit run --all-files --show-diff-on-failure pylint: ./pylint.sh gadjo/