[tox] toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/wcs/{env:BRANCH_NAME:main}/{env:EXECUTOR_NUMBER:} envlist = py3-django22-codestyle-coverage, pylint [testenv] sitepackages = true setenv = NUMPROCESSES={env:NUMPROCESSES:1} SETUPTOOLS_USE_DISTUTILS=stdlib PYTHONPATH={toxinidir}{:}{env:PYTHONPATH:} PYTHONHASHSEED=0 DJANGO_SETTINGS_MODULE=wcs.settings WCS_SETTINGS_FILE=tests/settings.py LC_ALL=C LC_TIME=C LANG=C coverage: COVERAGE=--cov-report xml --cov-report html --cov=wcs/ --cov-config .coveragerc -v passenv = USER deps = pytest>=3.6 pytest-mock pytest-cov pytest-django pytest-xdist pytest-freezegun WebTest mechanize gadjo pyquery mock requests vobject qrcode Pillow workalendar python-magic docutils langdetect git+https://git.entrouvert.org/debian/django-ckeditor.git git+https://git.entrouvert.org/godo.js.git django22: django>=2.2,<2.3 django-ratelimit<3 pyproj astroid!=2.5.7 pylint Quixote>=3.0,<3.2 pre-commit pyzbar bleach commands = py.test -v {env:COVERAGE:} --numprocesses={env:NUMPROCESSES:1} --dist loadfile --junitxml=junit-{envname}.xml {posargs:tests/} codestyle: pre-commit run --all-files --show-diff-on-failure [testenv:pylint] setenv = NUMPROCESSES={env:NUMPROCESSES:6} sitepackages = true deps = pytest>=3.6 pytest-mock pytest-cov pytest-django pytest-freezegun WebTest mechanize pyquery mock requests vobject qrcode Pillow workalendar python-magic docutils langdetect git+https://git.entrouvert.org/godo.js.git django>=2.2,<2.3 astroid!=2.5.7 pylint Quixote>=3.0,<3.2 pre-commit pyzbar commands = ./pylint.sh wcs/ tests/