forked from django-auth-ldap/django-auth-ldap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
49 lines (44 loc) · 974 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
46
47
48
49
[tox]
envlist =
black
flake8
isort
docs
py{35,36,37}-django111
py{35,36,37}-django21
py{35,36,37}-django22
py{36,37}-djangomaster
[testenv]
commands = {envpython} -Wa -b -m django test --settings tests.settings
deps =
django111: Django~=1.11.0
django20: Django~=2.0.0
django21: Django~=2.1.0
django22: Django~=2.2.0
djangomaster: https://github.com/django/django/archive/master.tar.gz
mock >= 2.0.0
[testenv:black]
basepython = python3
deps = black
commands = black --check --diff .
skip_install = true
[testenv:flake8]
basepython = python3
deps = flake8
commands = flake8
skip_install = true
[testenv:isort]
basepython = python3
deps = isort
commands = isort --check-only --diff
skip_install = true
[testenv:docs]
basepython = python3
deps =
readme_renderer
sphinx
commands =
make -C docs html
{envpython} setup.py check --restructuredtext --strict
skip_install = true
whitelist_externals = make