blob: 3a043632ecc36335e1e833f18407a8acc27dae5d [file] [log] [blame]
# pylint: disable=C0111,R0201,C0121
"""
FUNCTIONALITY
"""
class Example(object):
"""
@summary: Demonstrates pylint error caused by method expecting tuple
but called method does not return tuple
"""
def method_expects_tuple(self, obj):
meth, args = self.method_doesnot_return_tuple(obj)
result = meth(args)
return result
def method_doesnot_return_tuple(self, obj):
# we want to lock what we have in the inventory, not what is to have
# in the future
return {'success': obj}