forked from zostera/django-bootstrap3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
55 lines (48 loc) · 1.15 KB
/
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
[tox]
envlist =
{py35}-{django21,django22}
{py36}-{django21,django22,django30,djangomaster}
{py37}-{django21,django22,django30,djangomaster}
{py38}-{django30,djangomaster}
lint
docs
[testenv]
setenv =
PYTHONWARNINGS=all
whitelist_externals = make
commands =
coverage run --source bootstrap3 manage.py test -v1 --noinput
deps =
coverage
django21: Django==2.1.*
django22: Django==2.2.*
django30: Django==3.0.*
djangomaster: https://github.com/django/django/archive/master.tar.gz
after_success :
coveralls
[testenv:lint]
basepython = python3.7
deps = -r {toxinidir}/requirements.txt
commands = make lint
[testenv:docs]
basepython = python3.7
deps = -r {toxinidir}/docs/requirements.txt
commands = make docs
[flake8]
# E731 do not assign a lambda expression
# W503 line break before binary operator (black introduces these)
# E203 whitespace before ':'
ignore = E731,W503,E203
exclude = .git,.tox,__pycache__
max-line-length = 120
[travis]
python :
3.5: py35
3.6: py36
3.7: py37, docs, flake8
3.8: py38
[coverage:run]
source = src/bootstrap3
[coverage:report]
show_missing = True
skip_covered = True