From f06031bd9547449fff11a23730bd8cdb3e6b34a6 Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Wed, 17 May 2023 03:32:02 +0000 Subject: [PATCH] Restyled by autopep8 --- src/controller/python/chip/clusters/Attribute.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/controller/python/chip/clusters/Attribute.py b/src/controller/python/chip/clusters/Attribute.py index aaf2249ade7cab..b9d960b96d01de 100644 --- a/src/controller/python/chip/clusters/Attribute.py +++ b/src/controller/python/chip/clusters/Attribute.py @@ -509,14 +509,16 @@ def GetReportingIntervals(self) -> Tuple[int, int]: This should only be called if we're of subscription interaction type and after a subscription has been established. ''' handle = chip.native.GetLibraryHandle() - handle.pychip_ReadClient_GetReportingIntervals.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint16), ctypes.POINTER(ctypes.c_uint16)] + handle.pychip_ReadClient_GetReportingIntervals.argtypes = [ + ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint16), ctypes.POINTER(ctypes.c_uint16)] handle.pychip_ReadClient_GetReportingIntervals.restype = PyChipError minInterval = ctypes.c_uint16(0) maxInterval = ctypes.c_uint16(0) builtins.chipStack.Call( - lambda: handle.pychip_ReadClient_GetReportingIntervals(self._readTransaction._pReadClient, ctypes.pointer(minInterval), ctypes.pointer(maxInterval)) + lambda: handle.pychip_ReadClient_GetReportingIntervals( + self._readTransaction._pReadClient, ctypes.pointer(minInterval), ctypes.pointer(maxInterval)) ).raise_on_error() return minInterval.value, maxInterval.value