Skip to content

Commit 7572235

Browse files
committed
fix(filesystem): return a immutable tupple instead of a mutable list
This is not supposed to be changed further down the code
1 parent 6b7e215 commit 7572235

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ardupilot_methodic_configurator/backend_filesystem_vehicle_components.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ def get_fc_fw_version_from_vehicle_components_json(self) -> str:
8989
return ""
9090

9191
@staticmethod
92-
def supported_vehicles() -> list[str]:
93-
return ["AP_Periph", "AntennaTracker", "ArduCopter", "ArduPlane", "ArduSub", "Blimp", "Heli", "Rover", "SITL"]
92+
def supported_vehicles() -> tuple[str, str, str, str, str, str, str, str, str]:
93+
return ("AP_Periph", "AntennaTracker", "ArduCopter", "ArduPlane", "ArduSub", "Blimp", "Heli", "Rover", "SITL")
9494

9595
@staticmethod
9696
def get_vehicle_components_overviews() -> dict[str, TemplateOverview]:

0 commit comments

Comments
 (0)