Skip to content

Commit 8e069fd

Browse files
committed
Fix lint issues.
1 parent 446acd4 commit 8e069fd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

adafruit_platformdetect/board.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -448,6 +448,7 @@ def _beaglebone_id(self):
448448
return None
449449
# pylint: enable=no-self-use
450450

451+
# pylint: disable=too-many-return-statements
451452
def _armbian_id(self):
452453
"""Check whether the current board is an OrangePi PC or OrangePI R1."""
453454
board_value = self.detector.get_armbian_release_field('BOARD')
@@ -467,6 +468,7 @@ def _armbian_id(self):
467468
return PINEBOOK
468469

469470
return None
471+
# pylint: enable=too-many-return-statements
470472

471473
def _sama5_id(self):
472474
"""Check what type sama5 board."""

0 commit comments

Comments
 (0)