Skip to content

Commit

Permalink
Chore: Make pylint happy
Browse files Browse the repository at this point in the history
  • Loading branch information
Rippanda12 committed Oct 6, 2024
1 parent 7fcf46b commit 47ce0ad
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions adafruit_platformdetect/board.py
Original file line number Diff line number Diff line change
Expand Up @@ -483,11 +483,12 @@ def _diet_pi_id(self) -> Optional[str]:
if "OrangePi 4" in board_value:
return boards.ORANGE_PI_4
return None

def _ameridroid_id(self) -> Optional[str]:
board_value = self.detector.get_device_model().upper()
if "INDIEDROID NOVA" in board_value:
return boards.INDIEDROID_NOVA
return None

def _orange_pi_id(self) -> Optional[str]:
board_value = self.detector.get_device_model()
Expand Down Expand Up @@ -947,7 +948,7 @@ def any_raspberry_pi_cm(self) -> bool:
def any_beaglebone(self) -> bool:
"""Check whether the current board is any Beaglebone-family system."""
return self.id in boards._BEAGLEBONE_IDS

@property
def any_ameridroid(self) -> bool:
"""Check whether the current board is any Ameridroid device."""
Expand Down

0 comments on commit 47ce0ad

Please sign in to comment.