Move Pylint ignore
Moev Pylint ignore from code to config. Change-Id: I95ef8d7a320b633fbfd04f407a6143c8fa9c3f92
This commit is contained in:
parent
9ec134996a
commit
f6c3c27a49
@ -1658,6 +1658,12 @@
|
||||
"unexpected-keyword-arg",
|
||||
"Unexpected keyword argument 'recover_func' in method call",
|
||||
"ResizeVolumeAction._resize_active_volume"
|
||||
],
|
||||
[
|
||||
"trove/common/context.py",
|
||||
"E1101",
|
||||
"Instance of 'TroveContext' has no 'notification' member",
|
||||
"TroveContext.to_dict"
|
||||
]
|
||||
],
|
||||
"ignored_file_codes": [],
|
||||
|
@ -56,11 +56,6 @@ class TroveContext(context.RequestContext):
|
||||
'service_catalog': self.service_catalog
|
||||
})
|
||||
if hasattr(self, 'notification'):
|
||||
# Disable E1101 to allow us to specify self.notification here.
|
||||
# The ceilometer notification code relies on this being there but
|
||||
# we can't have self.notification as some code does
|
||||
# del context.notification.
|
||||
# pylint: disable=E1101
|
||||
serialized = SerializableNotification.serialize(self,
|
||||
self.notification)
|
||||
parent_dict['trove_notification'] = serialized
|
||||
|
Loading…
x
Reference in New Issue
Block a user