summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorvalentin boucher <valentin.boucher@orange.com>2017-05-22 13:11:45 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-05-22 13:11:45 +0000
commite47af47ac514d41e4b86085a2ba7b6d664b1cdd5 (patch)
treecbe555ab931b6b75c7419a4ddd5e41a36cc271f9 /tox.ini
parent7c902200886f72f8a5868d1e40c9b34f9160d6ce (diff)
parent59f183c9573e4ae59beaadc94e4cc52660029d37 (diff)
Merge "Analyse code when running tox"
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini10
1 files changed, 9 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 88d720c8c..db4f89202 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist = pep8,py27
+envlist = pep8,pylint,py27
[testenv]
deps =
@@ -18,3 +18,11 @@ basepython = python2.7
deps =
{[testenv]deps}
commands = flake8
+
+[testenv:pylint]
+basepython=python2.7
+deps=
+ {[testenv]deps}
+whitelist_externals = bash
+commands=bash -c \
+ "pylint --persistent=n functest | sed -ne '/Raw metrics/,//p'"