Repository navigation
Expand file tree
/
Copy pathtox.ini
More file actions
75 lines (68 loc) · 1.51 KB
/
Copy pathtox.ini
File metadata and controls
75 lines (68 loc) · 1.51 KB
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
[tox]
envlist =
django_main-py{313,312}
django{51,52}-py{313,312,311,310}
django50-py{312,311,310}
django42-py{311,310,39,38}
lint
docs
skipsdist = true
[pytest]
django_find_project = false
python_paths = {toxinidir}
[testenv]
dependency_groups =
test
deps =
.[exchange]
django42: {[django]42}
django50: {[django]50}
django51: {[django]51}
django52: {[django]52}
django_main: {[django]main}
# https://github.com/django-money/django-money/pull/716#issuecomment-1592594627
pypy3: asgiref<=3.6
commands = pytest --ds=tests.settings_reversion --cov=./djmoney {posargs}
usedevelop = false
[testenv:lint]
deps =
pre-commit pre-commit-uv
commands =
pre-commit run --all-files
[django]
42 =
Django>=4.2a1,<4.3
django-reversion>=4.0.0
djangorestframework>=3.13.0
50 =
Django>=5.0,<5.1
django-reversion>=4.0.0
djangorestframework>=3.13.0
51 =
Django>=5.1a,<5.2
django-reversion>=4.0.0
djangorestframework>=3.13.0
52 =
Django>=5.2b1,<6.0
django-reversion>=4.0.0
djangorestframework>=3.13.0
main =
https://github.com/django/django/archive/main.zip
django-reversion>=4.0.0
djangorestframework>=3.13.0
[testenv:no_rest_framework]
dependency_groups =
test
deps =
.[exchange]
Django>=4.2,<4.3
django-reversion>=4.0.0
[testenv:docs]
allowlist_externals = make
changedir = docs
dependency_groups =
docs
commands =
make html
[testenv:build]
commands = uv build