forked from jazzband/django-taggit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
44 lines (39 loc) · 904 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]
minversion = 1.9
envlist =
black
flake8
isort
py{35,36,37}-django111
py{35,36,37,38}-django22
py{36,37,38}-django30
py{36,37,38}-djangomaster
docs
[testenv]
deps =
django111: Django~=1.11.0
django22: Django>=2.2<3.0
django30: Django>=3.0<3.1
djangomaster: https://github.com/django/django/archive/master.tar.gz#egg=django
coverage
commands =
coverage run -m django test --settings=tests.settings {posargs}
coverage report
[testenv:black]
basepython = python3
skip_install = true
deps = black
commands = black --target-version=py35 --check --diff .
[testenv:flake8]
basepython = python3
skip_install = true
deps = flake8
commands = flake8
[testenv:isort]
basepython = python3
skip_install = true
deps = isort
commands = isort --recursive --check-only --diff
[testenv:docs]
deps = sphinx
commands = sphinx-build -n -W docs docs/_build