-
Notifications
You must be signed in to change notification settings - Fork 73
/
Copy pathtox.ini
38 lines (30 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
[tox]
envlist =
py{35,36,37,38}-django{2x,30,_trunk},
flake8,isort
skipsdist = True
[testenv]
commands =
python runtests.py bower_install
coverage run {toxinidir}/runtests.py
deps =
django2x: django>=2.0,<3
django30: Django>=3.0,<3.1
django_trunk: https://github.com/django/django/tarball/master
coverage
-rrequirements/requirements.txt
-rrequirements/requirements-optionals.txt
[testenv:flake8]
basepython = python
skip_install=true
deps = flake8==3.7.9
commands= flake8 {toxinidir}
[testenv:isort]
basepython = python
deps = isort
commands = isort --check-only --recursive lbworkflow
[testenv:docs]
basepython = python
deps = sphinx
changedir = docs
commands = sphinx-build -b html . _build/html