mirror of
https://github.com/esphome/aioesphomeapi.git
synced 2024-12-26 17:27:40 +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)
|
self._write_bytes(b"".join(out), debug_enabled)
|
||||||
|
|
||||||
def data_received( # pylint: disable=too-many-branches,too-many-return-statements
|
def data_received(self, data: bytes | bytearray | memoryview) -> None:
|
||||||
self, data: bytes | bytearray | memoryview
|
|
||||||
) -> None:
|
|
||||||
self._add_to_buffer(data)
|
self._add_to_buffer(data)
|
||||||
while self._buffer_len:
|
while self._buffer_len:
|
||||||
self._pos = 0
|
self._pos = 0
|
||||||
|
Loading…
Reference in New Issue
Block a user