-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtox.ini
54 lines (49 loc) · 955 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
52
53
54
[tox]
requires =
tox>=4.2
env_list =
py312-django{50, 42}
py311-django{50, 42, 41}
py310-django{50, 42, 41}
py39-django{42, 41}
mypy
skip_missing_interpreters = true
[testenv]
description = Run tests with {basepython}
package = wheel
wheel_build_env = .pkg
deps =
django41: {[django]41}
django42: {[django]42}
django50: {[django]50}
extras =
test
pass_env =
CI_RUN
PYTEST_*
TERM
commands =
pytest --cov --no-cov-on-fail --cov-report xml --cov-report term-missing {posargs}
[testenv:mypy]
description = Run type checking with Mypy
deps =
mypy
commands =
mypy --strict src/ tests/
[testenv:dev]
description = Generate a DEV environment
package = editable
extras =
dev
commands =
python -m pip list --format=columns
python -c 'import sys; print(sys.executable)'
[pytest]
django_find_project = false
[django]
50 =
Django~=5.0.0
42 =
Django~=4.2.8
41 =
Django~=4.1.3