-
Notifications
You must be signed in to change notification settings - Fork 2
/
tox.ini
60 lines (51 loc) · 1.25 KB
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# tox (https://tox.readthedocs.io/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
[flake8]
per-file-ignores = __init__.py:F401
[tox]
envlist =
py-django{31}-drf{3_11}
check
skipsdist = True
[testenv]
passenv = DISPLAY,PYTHONPATH,REMOTE_SELENIUM,BROWSER_SELENIUM,DJANGO_LIVE_TEST_SERVER_ADDRESS,GITHUB_ACTIONS
deps =
django22: django>=2.2, <2.3
django31: django>=3.1, <3.2
drf38: djangorestframework>=3.8, <3.9
drf394: djangorestframework==3.9.4
drf3_11: djangorestframework>=3.11, <=3.14
typing: typing
django-rest-registration==0.8.2
drf-spectacular>=0.17.2, <0.26.0
versio
social-auth-app-django
django-taggit
svgwrite
swapper
django-hijack < 3
dynamicforms >= 0.73.25
boto3
natural
celery==5.2.7
django-redis-cache
git+https://github.com/dedayoa/sms-counter-python.git#egg=sms_counter
pytest-django
pytest-celery
django_redis
redis>=5
commands =
python manage.py test
[testenv:check]
deps =
ruff
commands =
ruff check --diff
[testenv:doc]
deps =
sphinx
commands =
; rm -rf doc/_buildhtml
sphinx-build -an docs/source docs/_buildhtml