forked from vmw-loginsight/webhook-shims
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
51 lines (42 loc) · 1.04 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
[tox]
envlist = py27
usedevelop = True
[travis]
python =
2.7: py27
[testenv]
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
deps = -rtest-requirements.txt
setenv =
PYTHONPATH = {toxinidir}
commands=
py.test {posargs} \
--cov=loginsightwebhookdemo --cov-config=tox.ini --cov-fail-under=70 --cov-report term-missing \
--flakes --pep8 \
--ignore=tests/servicenow_test.py
[report]
omit =
loginsightwebhookdemo/servicenow.py,\
loginsightwebhookdemo/template.py, \
loginsightwebhookdemo/kafkatopic.py, \
loginsightwebhookdemo/moogsoft.py
[run]
branch = True
omit =
loginsightwebhookdemo/servicenow.py,\
loginsightwebhookdemo/template.py, \
loginsightwebhookdemo/kafkatopic.py, \
loginsightwebhookdemo/moogsoft.py
[pytest]
norecursedirs = .git venv
testpaths = tests
ignore = tests/servicenow_test.py
pep8ignore =
*.py E501 E712
utils/*.py ALL
.tox ALL
log_format = %(asctime)s %(levelname)s %(message)s
log_date_format = %Y-%m-%d %H:%M:%S
flakes-ignore =
utils/*.py ALL
.tox ALL