-
Notifications
You must be signed in to change notification settings - Fork 58
Expand file tree
/
Copy pathtox.ini
More file actions
61 lines (48 loc) · 1.32 KB
/
tox.ini
File metadata and controls
61 lines (48 loc) · 1.32 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
60
61
[tox]
envlist = py310, py311, py312, py313, py314, pypy, style
[testenv]
passenv = TEST_*,SMTP_TEST_*
commands = py.test --cov-report term --cov-report html --cov emails --cov-config=setup.cfg {posargs}
[testenv:pypy]
deps =
-rrequirements/tests.txt
[testenv:py310]
deps =
-rrequirements/tests.txt
[testenv:py311]
deps =
-rrequirements/tests.txt
[testenv:py312]
deps =
-rrequirements/tests.txt
[testenv:py313]
deps =
-rrequirements/tests.txt
[testenv:py314]
deps =
-rrequirements/tests.txt
[testenv:django42]
basepython = python3.12
deps =
-rrequirements/tests-django.txt
Django>=4.2,<4.3
commands = py.test --cov-report term --cov-report html --cov emails --cov-config=setup.cfg -m django {posargs}
[testenv:django52]
basepython = python3.12
deps =
-rrequirements/tests-django.txt
Django>=5.2,<5.3
commands = py.test --cov-report term --cov-report html --cov emails --cov-config=setup.cfg -m django {posargs}
[testenv:django60]
basepython = python3.12
deps =
-rrequirements/tests-django.txt
Django>=6.0,<6.1
commands = py.test --cov-report term --cov-report html --cov emails --cov-config=setup.cfg -m django {posargs}
[testenv:typecheck]
deps = mypy
commands = mypy emails/
[testenv:style]
deps = pre-commit
skip_install = true
commands = pre-commit run --all-files --show-diff-on-failure