forked from mixxorz/slippers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
45 lines (37 loc) · 758 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
[tox]
min_version = 4.0
envlist =
flake8
black
isort
py38-django{32,40,41,42}
py39-django{32,40,41,42}
py310-django{32,40,41,42}
py311-django{32,40,41,42}
[gh-actions]
python =
3.8: py38
3.9: py39
3.10: py310,
3.11: py311, flake8, black, isort
[testenv]
package = wheel
wheel_build_env = .pkg
pass_env =
FORCE_COLOR
NO_COLOR
deps =
django32: Django>=3.2,<3.3
django41: Django>=4.1,<4.2
django42: Django>=4.2,<4.3
commands =
python runtests.py
[testenv:flake8]
deps = flake8 >=6.0.0, <7.0.0
commands = flake8
[testenv:black]
deps = black==23.7.0, <24.0.0
commands = black --check ./
[testenv:isort]
deps = isort >= 5.12.0, <6.0.0
commands = isort slippers tests --check-only --diff