-
Notifications
You must be signed in to change notification settings - Fork 429
/
Copy pathtox.ini
45 lines (43 loc) · 907 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
[tox]
args_are_paths = false
envlist =
py39-{4.2},
py310{4.2,5.0,5.1,master},
py311{4.2,5.0,5.1,master},
py312{5.0,5.1,master},
; py313{master},
docs,
flake8,
isort,
[testenv]
basepython =
py39: python3.9
py310: python3.10
py311: python3.11
py312: python3.12
py313: python3.13
usedevelop = true
pip_pre = true
setenv =
PYTHONPATH={toxinidir}
PYTHONWARNINGS=all
commands =
coverage run --source=django_tables2 manage.py test {posargs}
deps =
4.2: Django==4.2.*
5.0: Django==5.0.*
5.1: Django==5.1.*
master: https://github.com/django/django/archive/master.tar.gz
coverage
-r{toxinidir}/requirements/common.pip
[testenv:docs]
basepython = python3.11
whitelist_externals = make
changedir = docs
setenv =
PYTHONWARNINGS=default
commands =
make html
make spelling
deps =
-r{toxinidir}/docs/requirements.txt