From 71e38af463392578959fdcb74c3b07f34d869e81 Mon Sep 17 00:00:00 2001
From: "pre-commit-ci[bot]"
<66853113+pre-commit-ci[bot]@users.noreply.github.com>
Date: Thu, 27 Jun 2024 10:17:35 +0000
Subject: [PATCH] ci(pre-commit): autofix
---
build_depends.repos | 2 +-
nebula_ros/launch/continental_launch_all_hw.xml | 2 +-
nebula_ros/schema/SRR520.schema.json | 8 ++++++--
nebula_ros/schema/sub/communication.json | 16 +++++++++++++---
4 files changed, 21 insertions(+), 7 deletions(-)
diff --git a/build_depends.repos b/build_depends.repos
index 8e7351482..6b7e58ff7 100644
--- a/build_depends.repos
+++ b/build_depends.repos
@@ -8,4 +8,4 @@ repositories:
ros2_socketcan:
type: git
url: https://github.com/knzo25/ros2_socketcan
- version: feat/continental_fd
\ No newline at end of file
+ version: feat/continental_fd
diff --git a/nebula_ros/launch/continental_launch_all_hw.xml b/nebula_ros/launch/continental_launch_all_hw.xml
index 9e9ffe421..0255e89f9 100644
--- a/nebula_ros/launch/continental_launch_all_hw.xml
+++ b/nebula_ros/launch/continental_launch_all_hw.xml
@@ -17,7 +17,7 @@
-
+
diff --git a/nebula_ros/schema/SRR520.schema.json b/nebula_ros/schema/SRR520.schema.json
index 19356adff..0c3004a64 100644
--- a/nebula_ros/schema/SRR520.schema.json
+++ b/nebula_ros/schema/SRR520.schema.json
@@ -60,10 +60,14 @@
"$ref": "#/definitions/SRR520"
}
},
- "required": ["ros__parameters"],
+ "required": [
+ "ros__parameters"
+ ],
"additionalProperties": false
}
},
- "required": ["/**"],
+ "required": [
+ "/**"
+ ],
"additionalProperties": false
}
diff --git a/nebula_ros/schema/sub/communication.json b/nebula_ros/schema/sub/communication.json
index b01c22e06..f7f3b6d86 100644
--- a/nebula_ros/schema/sub/communication.json
+++ b/nebula_ros/schema/sub/communication.json
@@ -72,7 +72,11 @@
"ptp_profile": {
"type": "string",
"default": "1588v2",
- "enum": ["1588v2", "802.1as", "automotive"],
+ "enum": [
+ "1588v2",
+ "802.1as",
+ "automotive"
+ ],
"description": "PTP profile."
},
"ptp_domain": {
@@ -85,13 +89,19 @@
"ptp_transport_type": {
"type": "string",
"default": "UDP",
- "enum": ["UDP", "L2"],
+ "enum": [
+ "UDP",
+ "L2"
+ ],
"description": "1588v2 supports 'UDP' or 'L2', other profiles only L2 (HW)."
},
"ptp_switch_type": {
"type": "string",
"default": "TSN",
- "enum": ["TSN", "NON_TSN"],
+ "enum": [
+ "TSN",
+ "NON_TSN"
+ ],
"description": "For automotive profile,'TSN' or 'NON_TSN'."
},
"receiver_timeout_sec": {