-
Notifications
You must be signed in to change notification settings - Fork 26
/
tox.ini
52 lines (46 loc) · 1.03 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
47
48
49
50
51
52
[tox]
skip_missing_interpreters = True
envlist =
py34-dj111-wt22
py34-dj20-wt22
py35-dj111-wt22
py35-dj20-wt22
py36-dj111-wt22
py36-dj20-wt22
; Django 3.2
; use supported python versions
py36-dj32-wt213
py37-dj32-wt213
py38-dj32-wt213
py39-dj32-wt213
py39-dj32-wt216
; Django 4.0
; use supported python versions
py38-dj40-wt216
py39-dj40-wt216
py310-dj40-wt216
isort,flake8
[testenv]
commands = python runtests.py {posargs}
deps =
dj111: django~=1.11.0
dj20: django~=2.0.0
; FIXME django 2.2 LTS is missing
dj32: django~=3.2.0
wt22: Wagtail~=2.2.0
; Wagtail 2.13 is the first release with Django 3.2 support
wt213: Wagtail~=2.13.0
dj40: django~=4.0.0
wt22: Wagtail~=2.2.0
; Wagtail 2.16 is the first release with Django 4.0 support
wt216: Wagtail~=2.16.0
[testenv:isort]
usedevelop = True
deps = isort
basepython = python3
commands = isort --recursive --diff --check-only wagtailmodelchooser tests
[testenv:flake8]
usedevelop = True
deps = flake8
basepython = python3
commands = flake8 wagtailmodelchooser/ tests/