summaryrefslogtreecommitdiffstats
path: root/res/tox.ini
diff options
context:
space:
mode:
authorying.yunlong <ying.yunlong@zte.com.cn>2017-09-29 10:26:51 +0800
committerying.yunlong <ying.yunlong@zte.com.cn>2017-09-29 10:27:11 +0800
commitb38e9fb27f547e8a7dd7f8cd184337963bb4bce7 (patch)
treecae5e93a3fe94673dc9b1631b7f2ca14f7b7fe35 /res/tox.ini
parent841ec9acc044122f0b465cc97dfdd4c0b7fb4678 (diff)
Add vfc-gvnfm-vnfres tox coverge check
Change-Id: I784c028adb769a983a663211b01be79006e3ec16 Issue-ID: VFC-477 Signed-off-by: ying.yunlong <ying.yunlong@zte.com.cn>
Diffstat (limited to 'res/tox.ini')
-rw-r--r--res/tox.ini6
1 files changed, 5 insertions, 1 deletions
diff --git a/res/tox.ini b/res/tox.ini
index 95b9a24..42f8d9f 100644
--- a/res/tox.ini
+++ b/res/tox.ini
@@ -7,6 +7,7 @@ downloadcache = ~/cache/pip
[flake8]
ignore = E501,E226,E126,W293,E502,E225,E302
+max-complexity = 12
[testenv]
deps = -r{toxinidir}/requirements.txt
@@ -18,4 +19,7 @@ commands = flake8
[testenv:py27]
commands =
- {[testenv]commands} \ No newline at end of file
+ {[testenv]commands}
+
+[testenv:cov]
+commands = coverage html --omit="*test_*,*__init__.py,*site-packages*" -d htmlcov \ No newline at end of file