Remove unused pylint disables (#720)

This commit is contained in:
J. Nick Koston 2023-11-25 14:41:27 -06:00 committed by GitHub
parent 65019664c3
commit 32821752a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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