diff options
author | Miroslav Los <miroslav.los@pantheon.tech> | 2019-08-14 17:29:33 +0200 |
---|---|---|
committer | Miroslav Los <miroslav.los@pantheon.tech> | 2019-08-14 17:29:33 +0200 |
commit | 669d320bc64e41f879c047a39a66b8ec99bf4b1e (patch) | |
tree | 969f5240ed44dc38bcc3de55f6f3c51675c08f75 /resources/libraries/python/IPUtil.py | |
parent | 37a9451377f7239365b5af778b8072d1585a2d2a (diff) |
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
Diffstat (limited to 'resources/libraries/python/IPUtil.py')
-rw-r--r-- | resources/libraries/python/IPUtil.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/libraries/python/IPUtil.py b/resources/libraries/python/IPUtil.py index 901d2ed7f7..2109997e99 100644 --- a/resources/libraries/python/IPUtil.py +++ b/resources/libraries/python/IPUtil.py @@ -55,7 +55,7 @@ class FibPathType(IntEnum): class FibPathFlags(IntEnum): """FIB path flags.""" FIB_PATH_FLAG_NONE = 0 - FIB_PATH_FLAG_RESOLVE_VIA_ATTACHED = 1 + FIB_PATH_FLAG_RESOLVE_VIA_ATTACHED = 1 #pylint: disable=invalid-name FIB_PATH_FLAG_RESOLVE_VIA_HOST = 2 |