-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
46 lines (39 loc) · 800 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
[tox]
envlist = py27, py36, flake8, lint
[travis]
python =
3.6: py36
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.6.0
commands=
flake8 nipyapi
[coverage:run]
include =
# Include the NiPyApi code
nipyapi/*
omit =
# Do not include procedurally generated swagger clients
nipyapi/nifi/*
nipyapi/registry/*
[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