added pylint lines

This commit is contained in:
agstewart 2025-07-18 18:02:32 -05:00
parent 84e017adbb
commit 89d7ee3fdd

View file

@ -517,6 +517,7 @@ class Board:
return None return None
def _orange_pi_id(self) -> Optional[str]: def _orange_pi_id(self) -> Optional[str]:
# pylint: disable=too-many-return-statements
board_value = self.detector.get_device_model() board_value = self.detector.get_device_model()
if "OPi 5 Max" in board_value: if "OPi 5 Max" in board_value:
return boards.ORANGE_PI_5_MAX return boards.ORANGE_PI_5_MAX