Enable pylint in NG-SA
Change-Id: Icd02cdb18d2a014f75e78e5ba527ca6ede550178
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
diff --git a/tox.ini b/tox.ini
index 39d19f2..fb89d5c 100644
--- a/tox.ini
+++ b/tox.ini
@@ -16,7 +16,7 @@
#######################################################################################
[tox]
-envlist = black, flake8
+envlist = black, flake8, pylint, pylint-webhook
[tox:jenkins]
toxworkdir = /tmp/.tox
@@ -75,8 +75,16 @@
pylint
skip_install = true
commands =
- pylint -E src
- pylint -E osm_webhook_translator
+ pylint -E src setup.py --disable=E0401
+
+
+[testenv:pylint-webhook]
+changedir = {toxinidir}/osm_webhook_translator
+deps = -r{toxinidir}/osm_webhook_translator/requirements.txt
+ pylint
+skip_install = true
+commands =
+ pylint -E src setup.py
#######################################################################################