forked from matthiask/django-imagefield
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
41 lines (38 loc) · 786 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
[tox]
envlist =
py{27}-dj{111}
py{36,37,38,39}-dj{111,22,30,31,32}
py{38,39}-dj{main}
docs
style
[testenv]
usedevelop = true
extras = tests
commands =
python -Wd {envbindir}/coverage run tests/manage.py test -v2 --keepdb {posargs:testapp}
coverage report -m
deps =
dj111: Django>=1.11,<2.0
dj22: Django>=2.2,<3.0
dj30: Django>=3.0,<3.1
dj31: Django>=3.1,<3.2
dj32: Django>=3.2,<4.0
djmain: https://github.com/django/django/archive/main.tar.gz
[testenv:style]
deps =
black
flake8
isort
changedir = {toxinidir}
commands =
isort setup.py imagefield tests
black .
flake8 .
skip_install = true
[testenv:docs]
deps =
Sphinx
changedir = docs
commands = make html
skip_install = true
whitelist_externals = make