-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
52 lines (41 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
[tox]
skipsdist = True
usedevelop = True
skip_missing_interpreters = True
envlist =
py{37}-django{32}-wagtail{41,42}
py{38,39,310}-django{32,40,41}-wagtail{41,42}
py{311}-django{41}-wagtail{41,42}
[gh-actions]
python =
3.7: py37
3.8: py38
3.9: py39
3.10: py310
3.11: py311
[gh-actions:env]
DATABASE =
postgres: postgres
mysql: mysql
[testenv]
install_command = pip install -e ".[testing]" -U {opts} {packages}
commands =
coverage run manage.py test --deprecation all {posargs: -v 2}
coverage report -m
deps =
coverage
dj32: Django>=3.2,<4.0
dj40: Django>=4.0,<4.1
dj41: Django>=4.1,<4.2
wt41: Wagtail>=4.1,<4.2
wt42: Wagtail>=4.2,<5.0
postgres: psycopg2
mysql: mysqlclient
[flake8]
ignore = D203, W503
exclude = .git,__pycache__,docs/,old,build,dist,bin/*
max-complexity = 10
max-line-length = 120
[isort]
profile = black
multi_line_output = 3