Deal with some "pylint: disable=" comments 92/23692/5
authorVratko Polak <vrpolak@cisco.com>
Wed, 4 Dec 2019 12:24:07 +0000 (13:24 +0100)
committerPeter Mikus <pmikus@cisco.com>
Thu, 5 Dec 2019 07:03:57 +0000 (07:03 +0000)
commit063abf35e81deaf749ebbcfee339fbd1d9e89412
treec932eac04f162c46b0f3c38db10105b945a617cb
parent6221f1b96d2a167c6db74ff26cd7ec7906ae9486
Deal with some "pylint: disable=" comments

+ When possible, fix the violation.
+ Else, add a comment:
  + An explanation (if not already present) and keep disable.
  + A TODO (if not already present) and remove the disable.
- This makes tox job report more pylint violations,
  but any such violation is fixable and should be fixed.
  - Although some need to be fixed in VPP, such as enum item long names.

Change-Id: I48604b5eda070083d79dff1439620dbd9e798e1f
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
13 files changed:
pylint.cfg
resources/libraries/python/ContainerUtils.py
resources/libraries/python/GBP.py
resources/libraries/python/IPUtil.py
resources/libraries/python/OptionString.py
resources/libraries/python/PacketVerifier.py
resources/libraries/python/PapiExecutor.py
resources/libraries/python/Policer.py
resources/libraries/python/TrafficGenerator.py
resources/libraries/python/VatExecutor.py
resources/libraries/python/topology.py
resources/traffic_scripts/ipsec.py
resources/traffic_scripts/policer.py