Skip to content

Commit 99503c3

Browse files
committed
this is a pylint bug, ignore it!
1 parent 1db909b commit 99503c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adafruit_bluefruitspi.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def _cmd(self, cmd): # pylint: disable=too-many-branches
155155

156156
# Send out the SPI bus
157157
with self._spi_device as spi:
158-
spi.write(self._buf_tx, end=len(cmd) + 4)
158+
spi.write(self._buf_tx, end=len(cmd) + 4) # pylint: disable=no-member
159159

160160
# Wait up to 200ms for a response
161161
timeout = 0.2
@@ -207,7 +207,7 @@ def init(self):
207207

208208
# Send out the SPI bus
209209
with self._spi_device as spi:
210-
spi.write(self._buf_tx, end=4)
210+
spi.write(self._buf_tx, end=4) # pylint: disable=no-member
211211

212212
# Wait 1 second for the command to complete.
213213
time.sleep(1)

0 commit comments

Comments
 (0)