forked from django-auth-ldap/django-auth-ldap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
58 lines (51 loc) · 998 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
50
51
52
53
54
55
56
57
58
[tox]
envlist =
black
flake8
isort
mypy
docs
django22
django30
django31
djangomaster
[testenv]
commands =
{envpython} --version
{envpython} -m django --version
{envpython} -Wa -b -m django test --settings tests.settings
deps =
django22: Django~=2.2.0
django30: Django~=3.0.0
django31: Django~=3.1.0
djangomaster: https://github.com/django/django/archive/master.tar.gz
[testenv:black]
deps = black
commands = black --check --diff .
skip_install = true
[testenv:flake8]
deps = flake8
commands = flake8
skip_install = true
[testenv:isort]
deps = isort>=5.0.1
commands = isort --check --diff .
skip_install = true
[testenv:mypy]
deps = mypy>=0.800
commands = mypy django_auth_ldap
skip_install = true
[testenv:docs]
deps =
readme_renderer
sphinx
commands =
make -C docs html
whitelist_externals = make
[testenv:packaging]
deps =
twine
skip_install = true
commands =
python setup.py sdist
twine check dist/*