forked from acurcie-st/django-ordered-model
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
44 lines (39 loc) · 903 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
[tox]
envlist =
py{34,35,36,37}-django20
py{35,36,37}-django21
py{35,36,37,38,39}-django22
py{36,37,38,39}-django30
py{36,37,38,39}-django31
py{36,37,38,39}-django32
py{38,39}-djangoupstream
black
[gh-actions]
python =
3.4: py34
3.5: py35
3.6: py36
3.7: py37
3.8: py38
3.9: py39
[testenv]
deps =
django20: Django~=2.0.0
django21: Django~=2.1.0
django22: Django~=2.2.17
django30: Django~=3.0.11
django31: Django~=3.1.3
django32: Django~=3.2.0
djangoupstream: https://github.com/django/django/archive/main.tar.gz
coverage
commands =
coverage run {envbindir}/django-admin test --pythonpath=. --settings=tests.settings {posargs}
[testenv:black]
basepython = python3
skip_install = true
deps =
black>=19.10b0
commands =
black --check --diff ordered_model/ tests/ setup.py
[flake8]
max-line-length = 100