Skip to content

Commit 47ce0ad

Browse files
committed
Chore: Make pylint happy
1 parent 7fcf46b commit 47ce0ad

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

adafruit_platformdetect/board.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -483,11 +483,12 @@ def _diet_pi_id(self) -> Optional[str]:
483483
if "OrangePi 4" in board_value:
484484
return boards.ORANGE_PI_4
485485
return None
486-
486+
487487
def _ameridroid_id(self) -> Optional[str]:
488488
board_value = self.detector.get_device_model().upper()
489489
if "INDIEDROID NOVA" in board_value:
490490
return boards.INDIEDROID_NOVA
491+
return None
491492

492493
def _orange_pi_id(self) -> Optional[str]:
493494
board_value = self.detector.get_device_model()
@@ -947,7 +948,7 @@ def any_raspberry_pi_cm(self) -> bool:
947948
def any_beaglebone(self) -> bool:
948949
"""Check whether the current board is any Beaglebone-family system."""
949950
return self.id in boards._BEAGLEBONE_IDS
950-
951+
951952
@property
952953
def any_ameridroid(self) -> bool:
953954
"""Check whether the current board is any Ameridroid device."""

0 commit comments

Comments
 (0)