forked from Chaffelson/nipyapi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
48 lines (41 loc) · 898 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
[tox]
envlist = py27, py3, flake8, lint
[travis]
python =
3.9: py3
2.7: py27
[flake8]
exclude = nipyapi/registry/*, nipyapi/nifi/*, tests/*
[testenv:lint]
basepython=python3
deps=
pylint
pyflakes
commands=
pylint nipyapi --rcfile=pylintrc
[testenv:flake8]
basepython=python3
deps=flake8>=3
commands=
flake8 --ignore=R0801,R0912,R0902,R0903,R1718,R0913,C0302 nipyapi
[coverage:run]
include =
# Include the NiPyApi code
nipyapi/*
omit =
# Do not include procedurally generated swagger clients, docs or demos
nipyapi/nifi/*
nipyapi/registry/*
nipyapi/demo/*
nipyapi/docs/*
[testenv]
setenv =
PYTHONPATH = {toxinidir}
passenv = *
deps =
-r{toxinidir}/requirements_dev.txt
-r{toxinidir}/requirements.txt
commands =
pip install -U pip
coverage run -m py.test --basetemp={envtmpdir} -x --log-cli-level=WARNING
- coveralls