-
Notifications
You must be signed in to change notification settings - Fork 263
/
tox.ini
51 lines (48 loc) · 957 Bytes
/
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
[tox]
requires =
tox>=4.2
tox-uv>=1.11.3
envdir = {toxinidir}/.venv
args_are_paths = false
envlist =
py39-{4.2},
py310-{4.2,5.0,5.1,main},
py311-{4.2,5.0,5.1,main},
py312-{4.2,5.0,5.1,main},
py313-{4.2,5.0,5.1,main},
docs,
lint
[testenv]
runner = uv-venv-lock-runner
basepython =
py39: python3.9
py310: python3.10
py311: python3.11
py312: python3.12
py313: python3.13
with_dev = true
pip_pre = true
setenv =
PYTHONPATH={toxinidir}
PYTHONWARNINGS=all
commands =
python manage.py test {posargs}
deps =
4.2: Django==4.2.*
5.0: Django==5.0.*
5.1: Django==5.1.*
main: https://github.com/django/django/archive/main.tar.gz
[testenv:lint]
basepython = python3.12
allowlist_externals = just
setenv =
PYTHONWARNINGS=default
commands =
just lint
[testenv:docs]
basepython = python3.12
allowlist_externals = just
setenv =
PYTHONWARNINGS=default
commands =
just docs