forked from Nitrate/Nitrate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
53 lines (49 loc) · 865 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
[tox]
envlist =
{py27,py36,py37}-django111
{py36,py37}-django{200, 210}
flake8
docs
[testenv]
deps =
django111: Django>=1.11,<2.0
py27: celery == 4.2.0
py36: celery == 4.2.0
django200: Django>=2.0,<2.1
django210: Django>=2.1,<3.0
usedevelop = True
extras =
krbauth
tests
commands = py.test src/tests/ {posargs}
[testenv:flake8]
basepython = python3
skip_install = True
deps = flake8
commands = flake8 src/
[testenv:docs]
basepython = python3
whitelist_externals = make
usedevelop = True
extras =
docs
async
changedir = {toxinidir}/docs
commands = make html
[flake8]
exclude =
.tox,
.git,
.env,
dist,
build,
src/tcms/settings/,
*sqls.py,
urls.py,
wsgi.py,
*settings.py,
*raw_sql.py,
*xml2dict*,
./docs/source/conf.py
ignore = E501,W504
max_line_length = 100