-
Notifications
You must be signed in to change notification settings - Fork 65
Expand file tree
/
Copy pathtox.ini
More file actions
35 lines (31 loc) · 736 Bytes
/
tox.ini
File metadata and controls
35 lines (31 loc) · 736 Bytes
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
[tox]
envlist =
flake8
isort
py{38,39,310}-dj{32,40,41}
py{310,311}-dj{42,main}
skip_missing_interpreters=True
[testenv]
deps =
-r{toxinidir}/tests/requirements/base.txt
dj32: Django>=3.2,<3.3
dj42: Django>=4.2,<4.3
dj50: Django>=5.0,<5.1
dj51: Django>=5.1,<5.2
djmain: https://github.com/django/django/archive/main.tar.gz
commands =
{envpython} --version
{env:COMMAND:coverage} erase
{env:COMMAND:coverage} run tests/settings.py
{env:COMMAND:coverage} report
ignore_outcome =
djmain: True
ignore_errors =
djmain: True
[testenv:flake8]
deps = flake8
commands = flake8 --config=setup.cfg
[testenv:isort]
deps = isort
commands = isort -c -df sekizai
skip_install = true