X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=tox.ini;h=fb89d5cf742ddd5e3a9f5e8970b1414949e510e6;hb=02f71cdb75526c9adec2867c0d832b74f84c2f17;hp=39d19f2d699c2cd15a2bb3856a655518fe422484;hpb=9d57e94671c23a364b009e08b444ec3ee4b31a5f;p=osm%2FNG-SA.git 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 @@ deps = {[testenv]deps} 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 #######################################################################################