-
-
Notifications
You must be signed in to change notification settings - Fork 361
Expand file tree
/
Copy pathtox.ini
More file actions
59 lines (55 loc) · 1.2 KB
/
tox.ini
File metadata and controls
59 lines (55 loc) · 1.2 KB
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
53
54
55
56
57
58
59
[gh-actions]
python =
3.10: py310
3.11: py311
3.12: py312
3.13: py313
3.14: py314
[gh-actions:env]
DJANGO =
4.2: dj42
5.1: dj51
5.2: dj52
6.0: dj60
main: djmain
[tox]
envlist =
py{310,311,312,313,314}-dj{42,50,51,52}-{sqlite3,mysql,postgresql}
py{312,313,314}-dj{60,main}-{sqlite3,mysql,postgresql}
[testenv]
usedevelop = True
ignore_outcome =
djmain: True
changedir = {toxinidir}/project
deps =
-rrequirements.txt
mysql: mysqlclient
postgresql: psycopg2-binary
dj42: django>=4.2,<4.3
dj51: django>=5.1,<5.2
dj52: django>=5.2,<5.3
dj60: django>=6.0,<6.1
djmain: https://github.com/django/django/archive/main.tar.gz
py312: setuptools
py313: setuptools
py314: setuptools
extras = formatting
setenv =
PYTHONPATH={toxinidir}:{toxinidir}
PYTHONDONTWRITEBYTECODE=1
sqlite3: DB_ENGINE=sqlite3
sqlite3: DB_NAME=":memory:"
mysql: DB_ENGINE=mysql
mysql: DB_NAME=mysql
mysql: DB_USER=root
mysql: DB_PASSWORD=mysql
mysql: DB_PORT=3306
postgresql: DB_ENGINE=postgresql
postgresql: DB_NAME=postgres
postgresql: DB_PASSWORD=postgres
commands = pytest
[flake8]
ignore =
E501,
E203,
W503