-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
37 lines (35 loc) · 939 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
[tox]
args_are_paths = false
envlist =
docs,prospector
{py38,py39}-{django-4.2}
{py310}-{django-4.2,django-5.0,django-5.1}
{py311}-{django-4.2,django-5.0,django-5.1}
{py312}-{django-4.2,django-5.0,django-5.1,django-main}
{py313}-{django-5.1,django-main}
[testenv]
basepython =
py38: python3.8
py39: python3.9
py310: python3.10
py311: python3.11
py312: python3.12
py313: python3.13
usedevelop = true
pip_pre = true
commands =
python --version
python -m pip show Django
invoke test {posargs}
deps =
django42: Django>=4.2,<5.0
django50: Django>=5.0,<5.1
django51: Django>=5.1,<5.2
django-main: https://github.com/django/django/archive/main.tar.gz
-r{toxinidir}/tests/requirements.txt
[testenv:prospector]
deps =
prospector~=1.13.0
-r{toxinidir}/tests/requirements.txt
basepython = python3.12
commands = prospector --profile .prospector.yaml {toxinidir}