-
Notifications
You must be signed in to change notification settings - Fork 65
/
tox.ini
35 lines (31 loc) · 732 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
[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
dj40: Django>=4.0,<4.1
dj41: Django>=4.1,<4.2
dj42: Django>=4.2,<5.0
djmain: https://github.com/django/django/archive/main.tar.gz
commands =
{envpython} --version
{env:COMMAND:coverage} erase
{env:COMMAND:coverage} run setup.py test
{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