Skip to content

Commit 4fe85aa

Browse files
committed
Update board.py
1 parent cad3247 commit 4fe85aa

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

adafruit_platformdetect/board.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,7 @@ def _pi_rev_code(self) -> Optional[str]:
250250
except FileNotFoundError:
251251
return None
252252

253+
# pylint: disable=no-self-use
253254
def _beaglebone_id(self) -> Optional[str]:
254255
"""Try to detect id of a Beaglebone."""
255256
board_value = self.detector.get_device_compatible()
@@ -288,6 +289,8 @@ def _beaglebone_id(self) -> Optional[str]:
288289
board_value = self.detector.get_armbian_release_field("BOARD")
289290
return None
290291

292+
# pylint: enable=no-self-use
293+
291294
def _bbai_id(self) -> Optional[str]:
292295
"""Try to detect id of a Beaglebone AI related board."""
293296
board_value = self.detector.get_device_model()
@@ -474,6 +477,7 @@ def _pine64_id(self) -> Optional[str]:
474477
board = boards.SOPINE
475478
return board
476479

480+
# pylint: disable=no-self-use
477481
def _pynq_id(self) -> Optional[str]:
478482
"""Try to detect the id for Xilinx PYNQ boards."""
479483
try:

0 commit comments

Comments
 (0)