-
Notifications
You must be signed in to change notification settings - Fork 48
Expand file tree
/
Copy pathtox.ini
More file actions
38 lines (36 loc) · 789 Bytes
/
tox.ini
File metadata and controls
38 lines (36 loc) · 789 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
36
37
38
[tox]
envlist =
py37-django{22,30,31,32}
py38-django{22,30,31,32,40}
py39-django{22,30,31,32,40}
py310-django{32,40}
py311-django{40,41}
checks
[testenv]
allowlist_externals = make
deps=
django22: Django>=2.2,<2.3
django30: Django>=3.0b1,<3.1
django31: Django>=3.1,<3.2
django32: Django>=3.2,<4.0
django40: Django>=4.0,<4.1
django41: Django>=4.1,<4.2
commands = make test
[testenv:checks]
basepython = python3.7
allowlist_externals = make
deps =
Django>=2.2,<2.3
coverage==4.5.2
flake8
python-coveralls
mypy
django-stubs
djangorestframework-stubs
black
setenv =
COVERALLS_REPO_TOKEN=LdECqqwg7eelQx9w8gvooUZCFIaCqGZCv
commands =
make checks coverage
coverage report
coveralls --ignore-errors