-
-
Notifications
You must be signed in to change notification settings - Fork 109
/
Copy pathtox.ini
40 lines (38 loc) · 774 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
[tox]
requires =
tox>=4.2
env_list =
py313-django{52, 51}
py312-django{52, 51, 50, 42}
py311-django{52, 51, 50, 42}
py310-django{52, 51, 50, 42}
py39-django{42}
[testenv]
runner = uv-venv-lock-runner
package = wheel
wheel_build_env = .pkg
pass_env =
DB_HOST
DB_PASSWORD
DB_PORT
DB_USER
set_env =
PYTHONDEVMODE = 1
commands =
python \
-W error::ResourceWarning \
-W error::DeprecationWarning \
-W error::PendingDeprecationWarning \
-m coverage run \
-m pytest {posargs:tests}
dependency_groups =
test
django42: django42
django50: django50
django51: django51
django52: django52
[flake8]
max-line-length = 88
extend-ignore = E203,E501
per-file-ignores =
*/__init__.py:F401