2022-04-02 14:16:09 +02:00
|
|
|
[tox]
|
|
|
|
envlist = py3-black-junit-coverage
|
|
|
|
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/imio-teleservices-templatetags/{env:BRANCH_NAME:}
|
|
|
|
|
|
|
|
[testenv]
|
|
|
|
sitepackages = false
|
|
|
|
usedevelop =
|
|
|
|
coverage: True
|
|
|
|
nocoverage: False
|
|
|
|
setenv =
|
|
|
|
DJANGO_SETTINGS_MODULE=wcs.settings
|
|
|
|
SETUPTOOLS_USE_DISTUTILS=stdlib
|
|
|
|
WCS_SETTINGS_FILE=tests/settings.py
|
|
|
|
coverage: COVERAGE=--cov-report xml --cov-report html --cov=imio_teleservices_templatetags/
|
|
|
|
junit: JUNIT=--junitxml=junit-{envname}.xml
|
|
|
|
deps =
|
|
|
|
pytest
|
|
|
|
pytest-cov
|
|
|
|
pytest-django
|
|
|
|
WebTest
|
|
|
|
requests
|
|
|
|
vobject
|
|
|
|
qrcode
|
2023-04-14 12:37:07 +02:00
|
|
|
emoji
|
2022-07-21 17:49:42 +02:00
|
|
|
lxml
|
2024-04-04 10:49:46 +02:00
|
|
|
psutil
|
|
|
|
freezegun
|
2022-07-21 17:49:42 +02:00
|
|
|
pyquery
|
2022-04-02 14:16:09 +02:00
|
|
|
Pillow
|
|
|
|
workalendar
|
|
|
|
python-magic
|
|
|
|
docutils
|
|
|
|
langdetect
|
|
|
|
django-ratelimit<3
|
2023-02-22 10:11:50 +01:00
|
|
|
git+https://git.entrouvert.org/entrouvert/debian-django-ckeditor.git
|
|
|
|
git+https://git.entrouvert.org/entrouvert/godo.js.git
|
2022-04-02 14:16:09 +02:00
|
|
|
pyproj
|
|
|
|
pyzbar
|
|
|
|
bleach
|
|
|
|
dnspython
|
2022-11-30 14:02:38 +01:00
|
|
|
phonenumbers
|
2022-04-02 14:16:09 +02:00
|
|
|
gadjo
|
|
|
|
Quixote>=3.0,<3.2
|
2024-04-04 10:51:02 +02:00
|
|
|
django>=3.2,<3.3
|
2022-06-09 10:55:30 +02:00
|
|
|
unidecode
|
2022-07-15 20:47:43 +02:00
|
|
|
psycopg2-binary
|
2022-04-02 14:16:09 +02:00
|
|
|
pre-commit
|
2022-07-15 20:47:43 +02:00
|
|
|
passenv=
|
|
|
|
USER
|
2022-04-02 14:16:09 +02:00
|
|
|
commands =
|
|
|
|
./get_wcs.sh
|
|
|
|
py.test {posargs: {env:JUNIT:} {env:COVERAGE:} tests/}
|
|
|
|
black: pre-commit run black --all-files --show-diff-on-failure
|