Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions adafruit_platformdetect/board.py
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@
return boards.INDIEDROID_NOVA
return None

def _orange_pi_id(self) -> Optional[str]:

Check failure on line 519 in adafruit_platformdetect/board.py

View workflow job for this annotation

GitHub Actions / test

Too many return statements (7/6)
board_value = self.detector.get_device_model()
if "OPi 5 Max" in board_value:
return boards.ORANGE_PI_5_MAX
Expand All @@ -532,6 +532,8 @@
return boards.ORANGE_PI_3B
return None

# pylint: enable=too-many-return-statements

def _sama5_id(self) -> Optional[str]:
"""Check what type sama5 board."""
board_value = self.detector.get_device_model()
Expand Down
Loading