Skip to content

Commit 0c287cd

Browse files
committed
pylint ignore statement effect in __init__()
1 parent 474f246 commit 0c287cd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

adafruit_pn532/adafruit_pn532.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ class BusyError(Exception):
185185
class PN532:
186186
"""PN532 driver base, must be extended for I2C/SPI/UART interfacing"""
187187

188+
# noinspection PyStatementEffect
188189
def __init__(self, *, debug=False, reset=None):
189190
"""Create an instance of the PN532 class
190191
"""
@@ -196,7 +197,7 @@ def __init__(self, *, debug=False, reset=None):
196197

197198
try:
198199
self._wakeup()
199-
self.firmware_version # first time often fails, try 2ce
200+
self.firmware_version # first time often fails, try 2ce
200201
return
201202
except (BusyError, RuntimeError):
202203
pass

0 commit comments

Comments
 (0)