Skip to content

Commit 31ebc32

Browse files
author
brentru
committed
lintin
1 parent e967f24 commit 31ebc32

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

adafruit_wiznet5k/adafruit_wiznet5k_socket.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ def htons(x):
5656
NO_SOCKET_AVAIL = const(255)
5757
# pylint: enable=bad-whitespace
5858

59-
6059
# keep track of sockets we allocate
6160
SOCKETS = []
6261

@@ -135,7 +134,7 @@ def send(self, data):
135134
_the_interface.socket_write(self.socknum, data)
136135
gc.collect()
137136

138-
def recv(self, bufsize=0):
137+
def recv(self, bufsize=0): #pylint: disable=too-many-branches
139138
"""Reads some bytes from the connected remote address.
140139
:param int bufsize: Maximum number of bytes to receive.
141140

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
# Uncomment the below if you use native CircuitPython modules such as
2121
# digitalio, micropython and busio. List the modules you use. Without it, the
2222
# autodoc module docs will fail to generate with a warning.
23-
autodoc_mock_imports = ["digitalio", "busio"]
23+
autodoc_mock_imports = ["digitalio", "busio", "adafruit_bus_device"]
2424

2525

2626
intersphinx_mapping = {'python': ('https://docs.python.org/3.4', None),'BusDevice': ('https://circuitpython.readthedocs.io/projects/busdevice/en/latest/', None),'CircuitPython': ('https://circuitpython.readthedocs.io/en/latest/', None)}

0 commit comments

Comments
 (0)