X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=tox.ini;h=f215d0f7b443ac17a667c73f1ccf2a5d799851a7;hb=48926cede8528c01e46c5a800a93f1618bd8c06e;hp=39d19f2d699c2cd15a2bb3856a655518fe422484;hpb=4e36505728a2d25e148269379276c41b44bc5f51;p=osm%2FNG-SA.git diff --git a/tox.ini b/tox.ini index 39d19f2..f215d0f 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 @@ deps = {[testenv]deps} pylint skip_install = true commands = - pylint -E src - pylint -E osm_webhook_translator + pylint -E src setup.py --disable=E0401 --disable=E1111 + + +[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 #######################################################################################