From 8ade5df7f922bf80d38eb27a1b180945b157afbb Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 31 Jan 2024 09:37:14 +0000 Subject: [PATCH] style(pre-commit): autofix --- .../config/map_projection_loader.param.yaml | 2 +- .../schema/map_projection_loader.schema.json | 76 +++++++++---------- 2 files changed, 37 insertions(+), 41 deletions(-) diff --git a/map/map_projection_loader/config/map_projection_loader.param.yaml b/map/map_projection_loader/config/map_projection_loader.param.yaml index 74519cbdcfc31..6ec300309a308 100644 --- a/map/map_projection_loader/config/map_projection_loader.param.yaml +++ b/map/map_projection_loader/config/map_projection_loader.param.yaml @@ -1,4 +1,4 @@ /**: ros__parameters: map_projector_info_path: $(var map_projector_info_path) - lanelet2_map_path: $(var lanelet2_map_path) \ No newline at end of file + lanelet2_map_path: $(var lanelet2_map_path) diff --git a/map/map_projection_loader/schema/map_projection_loader.schema.json b/map/map_projection_loader/schema/map_projection_loader.schema.json index 2ada465f9de16..bb7fe5d2910ad 100644 --- a/map/map_projection_loader/schema/map_projection_loader.schema.json +++ b/map/map_projection_loader/schema/map_projection_loader.schema.json @@ -1,42 +1,38 @@ { - "$schema": "http://json-schema.org/draft-07/schema#", - "title": "Parameters for map_projection_loader", - "type": "object", - "definitions": { - "map_projection_loader": { - "type": "object", - "properties": { - "map_projector_info_path": { - "type": "string", - "description": "The path where map_projector_info.yaml is located", - "default": "$(var map_projector_info_path)" - }, - "lanelet2_map_path": { - "type": "string", - "description": "The path where the lanelet2 map file (.osm) is located", - "default": "$(var lanelet2_map_path)" - } + "$schema": "http://json-schema.org/draft-07/schema#", + "title": "Parameters for map_projection_loader", + "type": "object", + "definitions": { + "map_projection_loader": { + "type": "object", + "properties": { + "map_projector_info_path": { + "type": "string", + "description": "The path where map_projector_info.yaml is located", + "default": "$(var map_projector_info_path)" }, - "required": [ - "map_projector_info_path", - "lanelet2_map_path" - ], - "additionalProperties": false - } - }, - "properties": { - "/**": { - "type": "object", - "properties": { - "ros__parameters": { - "$ref": "#/definitions/map_projection_loader" - } - }, - "required": ["ros__parameters"], - "additionalProperties": false - } - }, - "required": ["/**"], - "additionalProperties": false - } - \ No newline at end of file + "lanelet2_map_path": { + "type": "string", + "description": "The path where the lanelet2 map file (.osm) is located", + "default": "$(var lanelet2_map_path)" + } + }, + "required": ["map_projector_info_path", "lanelet2_map_path"], + "additionalProperties": false + } + }, + "properties": { + "/**": { + "type": "object", + "properties": { + "ros__parameters": { + "$ref": "#/definitions/map_projection_loader" + } + }, + "required": ["ros__parameters"], + "additionalProperties": false + } + }, + "required": ["/**"], + "additionalProperties": false +}