-
Notifications
You must be signed in to change notification settings - Fork 112
/
hatch.toml
37 lines (29 loc) · 864 Bytes
/
hatch.toml
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
[envs.hatch-static-analysis]
config-path = "ruff_defaults.toml"
[envs.test.env-vars]
DJANGO_SETTINGS_MODULE = "tests.settings"
[envs.test.scripts]
test = "python runtests.py"
[envs.test.overrides]
matrix.django.dependencies = [
{ value = "django>=3.2,<4.0", if = ["3.2"] },
{ value = "django>=4.0,<4.1", if = ["4.0"] },
{ value = "django>=4.1,<4.2", if = ["4.1"] },
{ value = "django>=4.2,<5.0", if = ["4.2"] },
{ value = "django>=5.0,<5.1", if = ["5.0"] },
]
[[envs.test.matrix]]
django = ["3.2"]
python = ["3.8", "3.9", "3.10"]
[[envs.test.matrix]]
django = ["4.0"]
python = ["3.8", "3.9", "3.10"]
[[envs.test.matrix]]
django = ["4.1"]
python = ["3.8", "3.9", "3.10", "3.11"]
[[envs.test.matrix]]
django = ["4.2"]
python = ["3.8", "3.9", "3.10", "3.11", "3.12"]
[[envs.test.matrix]]
django = ["5.0"]
python = ["3.10", "3.11", "3.12"]