forked from django-request/django-request
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
42 lines (38 loc) · 914 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
[tox]
envlist =
{py36,py37,py38,py39,py310}-django32-test
{py38,py39,py310,py311,py312}-django42-test
{py310,py311,py312}-django50-test
{py310,py311,py312}-djangomain-test
isort
flake
black
[testenv]
basepython =
py36: python3.6
py37: python3.7
py38: python3.8
py39: python3.9
py310: python3.10
py311: python3.11
py312: python3.12
commands =
test: coverage run ./runtests.py
deps =
coverage
django32: Django>=3.2,<4.0
django42: Django>=4.2,<5.0
django50: Django>=5.0,<5.1
djangomain: https://github.com/django/django/archive/main.tar.gz
[testenv:isort]
basepython = python3.12
deps = isort >= 5.1.0
commands = isort --check-only --diff request tests setup.py runtests.py
[testenv:flake]
basepython = python3.12
deps = flake8
commands = flake8
[testenv:black]
basepython = python3.12
deps = black
commands = black --check --diff .