-
Notifications
You must be signed in to change notification settings - Fork 95
Expand file tree
/
Copy pathtox.ini
More file actions
39 lines (35 loc) · 646 Bytes
/
tox.ini
File metadata and controls
39 lines (35 loc) · 646 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
39
[tox]
envlist =
py{36,37}-dj{22}
py{37,38}-dj{30}
py{37,38,39}-dj{32}
py{38,39}-dj{40}
flake8
black
[gh-actions]
python =
3.6: py36, black, flake8
3.7: py37, black, flake8
3.8: py38, black, flake8
3.9: py39, black, flake8
[testenv]
commands =
coverage erase
coverage run setup.py test
coverage report
deps =
coverage
dj22: Django~=2.2.0
dj30: Django~=3.0.0
dj32: Django~=3.2.0
dj40: Django~=4.0rc1
[testenv:flake8]
commands = flake8 sendsms setup.py
deps = flake8
[testenv:black]
commands =
isort --check-only ./sendsms ./setup.py
black --fast --check .
deps =
black
isort