-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
38 lines (31 loc) · 715 Bytes
/
Copy pathtox.ini
File metadata and controls
38 lines (31 loc) · 715 Bytes
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
[tox]
envlist =
py{312,313,314}-dj{52,60,dev},
lint
pre-commit
isolated_build = true
[gh-actions]
python =
3.12: py312, lint, pre-commit
3.13: py313
3.14: py314
[gh-actions:env]
DJANGO =
5.2: dj52
6.0: dj60
dev: djdev, lint, pre-commit
[testenv]
deps =
dj52: Django>=5.2,<5.3
dj60: Django>=6.0,<6.1
djdev: git+https://github.com/django/django.git@main
commands =
uv run --active --dev --no-sources coverage run -a runtests.py
uv run --active --dev --no-sources coverage report
[testenv:lint]
commands =
uv run --active --group lint --no-sources --isolated ruff check
[testenv:pre-commit]
deps = pre-commit
commands =
pre-commit run --all-files