diff --git a/formats/planning_configuration.py b/formats/planning_configuration.py index 8682d804bc4b19032b49ea11049a9924a1b57a27..acfd47cb2a4b54e275f7ef874ad5dd954b334216 100644 --- a/formats/planning_configuration.py +++ b/formats/planning_configuration.py @@ -37,7 +37,11 @@ emergency_schema = { "example": {}, }, }, - "required": ["target_waypoint_latitude", "target_waypoint_longitude", "target_depth"], + "required": [ + "target_waypoint_latitude", + "target_waypoint_longitude", + "target_depth", + ], } diff --git a/formats/platform_status.py b/formats/platform_status.py index b9a6ccf85feb23adff6bcecf4b9ac30b7baca34e..3593a5239e132c5ccec208cddfaf29bf1a6fb27a 100644 --- a/formats/platform_status.py +++ b/formats/platform_status.py @@ -103,7 +103,7 @@ platform_status_schema = { }, "mission_plan_ID": { "type": "integer", - "description": "Mission plan ID according to local platform-C2 system", + "description": "Mission plan ID according to platform-C2 system", "example": 1, }, "range_to_go": { @@ -138,19 +138,22 @@ platform_status_schema = { }, "health_status": { "type": "boolean", - "description": "Health status where 0 is OK, 1 is platform has an ERROR", + "description": "Health status where 0 is OK, 1 is platform has" + + " an ERROR", "example": False, }, "localisation_north_error": { "type": "number", "format": "float", - "description": "Difference in NORTH between deadreckoning and USBL update.", + "description": "Difference in NORTH between deadreckoning" + + " and USBL update.", "example": 0.000129, }, "localisation_east_error": { "type": "number", "format": "float", - "description": "Difference in EAST between deadreckoning and USBL update.", + "description": "Difference in EAST between deadreckoning" + + "and USBL update.", "example": 0.000129, }, "usbl_fix_seconds_ago": { diff --git a/project/soar/swagger.json b/project/soar/swagger.json index c805daf5d4e3cbe9256ce0f118e82694e25cff19..46c87770788dc780b81ac0c5c927690fab9dfc2b 100644 --- a/project/soar/swagger.json +++ b/project/soar/swagger.json @@ -570,7 +570,7 @@ "type": "string" }, "mission_plan_ID": { - "description": "Mission plan ID according to local platform-C2 system", + "description": "Mission plan ID according to platform-C2 system", "example": 1, "type": "integer" }, diff --git a/tests/fixtures/schemas.py b/tests/fixtures/schemas.py index 60bba4ab8159e7cac81a55a36c8134c6b555e1eb..9dc8dd21ff73f6471065f51560eab39ea4e27e69 100644 --- a/tests/fixtures/schemas.py +++ b/tests/fixtures/schemas.py @@ -272,7 +272,11 @@ emergency_schema = { "example": {}, }, }, - "required": ["target_waypoint_latitude", "target_waypoint_longitude", "target_depth"], + "required": [ + "target_waypoint_latitude", + "target_waypoint_longitude", + "target_depth", + ], } @@ -521,7 +525,7 @@ platform_status_schema = { }, "mission_plan_ID": { "type": "integer", - "description": "Mission plan ID according to local platform-C2 system", + "description": "Mission plan ID according to platform-C2 system", "example": 1, }, "range_to_go": { @@ -557,19 +561,22 @@ platform_status_schema = { }, "health_status": { "type": "boolean", - "description": "Health status where 0 is OK, 1 is platform has an ERROR", + "description": "Health status where 0 is OK, 1 is platform" + + " has an ERROR", "example": False, }, "localisation_north_error": { "type": "number", "format": "float", - "description": "Difference in NORTH between deadreckoning and USBL update.", + "description": "Difference in NORTH between deadreckoning" + + " and USBL update.", "example": 0.000129, }, "localisation_east_error": { "type": "number", "format": "float", - "description": "Difference in EAST between deadreckoning and USBL update.", + "description": "Difference in EAST between deadreckoning" + + " and USBL update.", "example": 0.000129, }, "usbl_fix_seconds_ago": { diff --git a/tests/fixtures/swagger.json b/tests/fixtures/swagger.json index 88e5f71a512621b726debc0eeb5bf508e4842331..fb2150b7fdb881a245284457d85583cc8d49a9a7 100644 --- a/tests/fixtures/swagger.json +++ b/tests/fixtures/swagger.json @@ -551,7 +551,7 @@ "type": "string" }, "mission_plan_ID": { - "description": "Mission plan ID according to local platform-C2 system", + "description": "Mission plan ID according to platform-C2 system", "example": 1, "type": "integer" },