Skip to content

Commit ed5313c

Browse files
committed
Fix up pylint method could be a function (no-self-use) warning
The introduction of the _pynq_id() method triggered this warning from pylint, annotate accordingly.
1 parent 3bc3d1e commit ed5313c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

adafruit_platformdetect/board.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,7 @@ def _pine64_id(self):
234234
board = boards.PINEPHONE
235235
return board
236236

237+
# pylint: disable=no-self-use
237238
def _pynq_id(self):
238239
"""Try to detect the id for Xilinx PYNQ boards."""
239240
try:

0 commit comments

Comments
 (0)