forked from django/django-localflavor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
46 lines (43 loc) · 1.12 KB
/
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
[tox]
args_are_paths = false
envlist =
docs,prospector
{py38,py39,py310,pypy39}-django-3.2
{py38,py39,py310,pypy39}-django-4.0
{py38,py39,py310,py311,pypy39}-django-4.1
{py38,py39,py310,py311,pypy39}-django-4.2
{py310,py311}-django-main
[testenv]
basepython =
py38: python3.8
py39: python3.9
py310: python3.10
py311: python3.11
pypy39: pypy3.9
usedevelop = true
pip_pre = true
commands =
python --version
python -m pip show Django
invoke test {posargs}
deps =
django-3.2: Django>=3.2,<3.3
django-4.0: Django>=4.0,<4.1
django-4.1: Django>=4.1,<4.2
django-4.2: Django>=4.2,<4.3
django-main: https://github.com/django/django/archive/main.tar.gz
-r{toxinidir}/tests/requirements.txt
[testenv:docs]
deps =
Sphinx>=1.3
-r{toxinidir}/docs/requirements.txt
basepython = python3.11
commands =
sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/_build/html
[testenv:prospector]
deps =
prospector==1.3.0
pylint>=2.5.2,<2.6.0
-r{toxinidir}/tests/requirements.txt
basepython = python3.9
commands = prospector --profile .prospector.yaml {toxinidir}