aboutsummaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2017-05-21 11:50:56 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2017-05-21 11:50:56 +0200
commit59f183c9573e4ae59beaadc94e4cc52660029d37 (patch)
treee269de3fd8aaa23f4076d8fbc1715f5655e1f7ff /tox.ini
parent2bbf1492079d7f30aa3e6dfb88a1e9037412c230 (diff)
Analyse code when running tox
It filters all messages to ease reading the report. Change-Id: Iab55bc71cb6026edde29fb9f084a07b2dedf564f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
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 88d720c8..db4f8920 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'"