DO_NOT_MERGE CSIT-1194 - Framework easy pylint improvements 14/21314/1
authorMiroslav Los <miroslav.los@pantheon.tech>
Wed, 14 Aug 2019 15:29:33 +0000 (17:29 +0200)
committerMiroslav Los <miroslav.los@pantheon.tech>
Wed, 14 Aug 2019 15:29:33 +0000 (17:29 +0200)
commit669d320bc64e41f879c047a39a66b8ec99bf4b1e
tree969f5240ed44dc38bcc3de55f6f3c51675c08f75
parent37a9451377f7239365b5af778b8072d1585a2d2a
DO_NOT_MERGE CSIT-1194 - Framework easy pylint improvements

- force a python2 environment in tox for pylint
- let pylint load some compiled modules for member checking
- allow locally enabled pylint rules
- ignore bad enum names
- ignore complexity for code to be refactored by other tickets
- broad excepts are acceptable sometimes

Signed-off-by: Miroslav Los <miroslav.los@pantheon.tech>
Change-Id: If4c3a1b85e8609f074e1de8ce91fc9c4fedbeb38
pylint.cfg
resources/libraries/python/DropRateSearch.py
resources/libraries/python/GBP.py
resources/libraries/python/IPUtil.py
resources/libraries/python/InterfaceUtil.py
resources/libraries/python/PapiExecutor.py
resources/libraries/python/TrafficGenerator.py
resources/libraries/python/VatExecutor.py
tox.ini