From 2b1828723f0e1a10bb751ddbad918e00280ecfd6 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 4 Apr 2024 11:58:32 +0000 Subject: [PATCH] style(pre-commit): autofix --- evaluator/localization_evaluator/README.md | 2 +- .../schema/localization_evaluator.schema.json | 70 +++++++++---------- 2 files changed, 34 insertions(+), 38 deletions(-) diff --git a/evaluator/localization_evaluator/README.md b/evaluator/localization_evaluator/README.md index 134862a9dc96d..18d887e075be1 100644 --- a/evaluator/localization_evaluator/README.md +++ b/evaluator/localization_evaluator/README.md @@ -4,4 +4,4 @@ The Localization Evaluator evaluates the performance of the localization system ## Parameters -{{ json_to_markdown("evaluator/localization_evaluator/schema/localization_evaluator.schema.json") }} \ No newline at end of file +{{ json_to_markdown("evaluator/localization_evaluator/schema/localization_evaluator.schema.json") }} diff --git a/evaluator/localization_evaluator/schema/localization_evaluator.schema.json b/evaluator/localization_evaluator/schema/localization_evaluator.schema.json index b0683bd3f4827..f186e569e8f4d 100644 --- a/evaluator/localization_evaluator/schema/localization_evaluator.schema.json +++ b/evaluator/localization_evaluator/schema/localization_evaluator.schema.json @@ -1,39 +1,35 @@ { - "$schema": "http://json-schema.org/draft-07/schema#", - "title": "Parameters for Localization Evaluator", - "type": "object", - "definitions": { - "localization_evaluator": { - "type": "object", - "properties": { - "output_file": { - "type": "string", - "default": "loc_metrics.results", - "description": "if empty, metrics are not written to file" - }, - "selected_metrics": { - "type": "array", - "default": "['lateral_error', 'absolute_error']", - "description": "metrics to be calculated" - } + "$schema": "http://json-schema.org/draft-07/schema#", + "title": "Parameters for Localization Evaluator", + "type": "object", + "definitions": { + "localization_evaluator": { + "type": "object", + "properties": { + "output_file": { + "type": "string", + "default": "loc_metrics.results", + "description": "if empty, metrics are not written to file" }, - "required": [ - "output_file", - "selected_metrics" - ] - } - }, - "properties": { - "/**": { - "type": "object", - "properties": { - "ros__parameters": { - "$ref": "#/definitions/localization_evaluator" - } - }, - "required": ["ros__parameters"] - } - }, - "required": ["/**"] - } - \ No newline at end of file + "selected_metrics": { + "type": "array", + "default": "['lateral_error', 'absolute_error']", + "description": "metrics to be calculated" + } + }, + "required": ["output_file", "selected_metrics"] + } + }, + "properties": { + "/**": { + "type": "object", + "properties": { + "ros__parameters": { + "$ref": "#/definitions/localization_evaluator" + } + }, + "required": ["ros__parameters"] + } + }, + "required": ["/**"] +}