Updating pylint enable/disables
This commit is contained in:
parent
e5dc15fd01
commit
cad32475b6
1 changed files with 0 additions and 4 deletions
|
|
@ -250,7 +250,6 @@ class Board:
|
||||||
except FileNotFoundError:
|
except FileNotFoundError:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
# pylint: disable=useless-option-value
|
|
||||||
def _beaglebone_id(self) -> Optional[str]:
|
def _beaglebone_id(self) -> Optional[str]:
|
||||||
"""Try to detect id of a Beaglebone."""
|
"""Try to detect id of a Beaglebone."""
|
||||||
board_value = self.detector.get_device_compatible()
|
board_value = self.detector.get_device_compatible()
|
||||||
|
|
@ -289,8 +288,6 @@ class Board:
|
||||||
board_value = self.detector.get_armbian_release_field("BOARD")
|
board_value = self.detector.get_armbian_release_field("BOARD")
|
||||||
return None
|
return None
|
||||||
|
|
||||||
# pylint: enable=useless-option-value
|
|
||||||
|
|
||||||
def _bbai_id(self) -> Optional[str]:
|
def _bbai_id(self) -> Optional[str]:
|
||||||
"""Try to detect id of a Beaglebone AI related board."""
|
"""Try to detect id of a Beaglebone AI related board."""
|
||||||
board_value = self.detector.get_device_model()
|
board_value = self.detector.get_device_model()
|
||||||
|
|
@ -477,7 +474,6 @@ class Board:
|
||||||
board = boards.SOPINE
|
board = boards.SOPINE
|
||||||
return board
|
return board
|
||||||
|
|
||||||
# pylint: disable=useless-option-value
|
|
||||||
def _pynq_id(self) -> Optional[str]:
|
def _pynq_id(self) -> Optional[str]:
|
||||||
"""Try to detect the id for Xilinx PYNQ boards."""
|
"""Try to detect the id for Xilinx PYNQ boards."""
|
||||||
try:
|
try:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue