-
-
Notifications
You must be signed in to change notification settings - Fork 153
Expand file tree
/
Copy pathtox.ini
More file actions
37 lines (35 loc) · 796 Bytes
/
Copy pathtox.ini
File metadata and controls
37 lines (35 loc) · 796 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
[tox]
requires =
tox>=4.2
env_list =
py314-django{61, 60, 52}
py314-codegen
py313-django{61, 60, 52}
py312-django{61, 60, 52}
py311-django{52}
py310-django{52}
[testenv]
runner = uv-venv-lock-runner
package = wheel
wheel_build_env = .pkg
extras =
brotli
set_env =
PYTHONDEVMODE = 1
commands =
python \
-W error::ResourceWarning \
-W error::DeprecationWarning \
-W error::PendingDeprecationWarning \
-W 'ignore:path is deprecated. Use files() instead.:DeprecationWarning' \
-m coverage run \
-m pytest {posargs:tests}
dependency_groups =
test
django52: django52
django60: django60
django61: django61
[testenv:py314-codegen]
deps =
commands =
python ./scripts/generate_default_media_types.py --check