Skip to content

Commit a3bdc8d

Browse files
committed
fix ci checks
1 parent a90d1f1 commit a3bdc8d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

adafruit_wiznet5k/adafruit_wiznet5k.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -872,7 +872,7 @@ def socket_disconnect(self, socket_num: int) -> None:
872872
self._write_sncr(socket_num, CMD_SOCK_DISCON)
873873
self._read_sncr(socket_num)
874874

875-
def socket_read(
875+
def socket_read( # pylint: disable=too-many-branches
876876
self, socket_num: int, length: int
877877
) -> Tuple[int, Union[int, bytearray]]:
878878
"""
@@ -886,6 +886,7 @@ def socket_read(
886886
was unsuccessful then both items equal an error code, 0 for no data waiting and -1
887887
for no connection to the socket.
888888
"""
889+
889890
if not self.link_status:
890891
raise AssertionError("Ethernet cable disconnected!")
891892
if socket_num > self.max_sockets:

0 commit comments

Comments
 (0)