mirror of
https://github.com/esphome/aioesphomeapi.git
synced 2024-12-25 17:17:42 +01:00
Remove unused pylint disables (#720)
This commit is contained in:
parent
65019664c3
commit
32821752a5
@ -58,9 +58,7 @@ class APIPlaintextFrameHelper(APIFrameHelper):
|
||||
|
||||
self._write_bytes(b"".join(out), debug_enabled)
|
||||
|
||||
def data_received( # pylint: disable=too-many-branches,too-many-return-statements
|
||||
self, data: bytes | bytearray | memoryview
|
||||
) -> None:
|
||||
def data_received(self, data: bytes | bytearray | memoryview) -> None:
|
||||
self._add_to_buffer(data)
|
||||
while self._buffer_len:
|
||||
self._pos = 0
|
||||
|
Loading…
Reference in New Issue
Block a user