-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
tox.ini
52 lines (48 loc) · 908 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]
requires =
tox>=4.2
env_list =
py312-django40
py312-django50
py312-django51
py311-django40
py311-django50
py311-django51
py310-django40
py310-django50
py310-django51
py39-django40
py38-django40
[testenv]
description = Run Pytest tests with multiple django versions
deps =
pytest
pytest-cov
pytest-django
django40: django<5.0,>=4.2
django50: django<5.1,>=5
django51: django<5.2,>=5.1
commands =
pytest --cov=django_logging --cov-report=html
develop = True
[testenv:bandit]
description = Run security checks
skip_install = true
deps =
bandit
commands =
bandit -r django_logging
[testenv:pre-commit]
description = Run pre-commit hooks
skip_install = true
deps =
pre-commit
commands =
pre-commit run --all-files
[gh-actions]
python =
3.8: py38
3.9: py39
3.10: py310
3.11: py311
3.12: py312