From 2dea6ab5a5020664f2055a2ecbc861004ea274a4 Mon Sep 17 00:00:00 2001 From: bendikro Date: Tue, 19 Apr 2016 19:06:55 +0200 Subject: [PATCH] [Tests] Add pylint target to tox --- tox.ini | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tox.ini b/tox.ini index 401f18a09..44a5f6350 100644 --- a/tox.ini +++ b/tox.ini @@ -116,6 +116,18 @@ deps = commands = flake8 --exit-zero --max-complexity 15 deluge +[testenv:pylint] +# Force pylint pip install to avoid using system installed version +install_command = pip -v install --ignore-installed {opts} {packages} +setenv = {[testenv]setenv} +deps = + {[testenv]deps} + pylint +commands = + pylint --version + pylint deluge + + ###################### # Unit Test coverage ######################