From 25deca96f8f30de5f48a24a0d53a8583393c5c44 Mon Sep 17 00:00:00 2001 From: github-actions Date: Mon, 16 Dec 2024 13:37:06 +0000 Subject: [PATCH 1/2] chore: sync files Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- .pre-commit-config.yaml | 53 ++++++++++++++++++++++++++++++++++++----- 1 file changed, 47 insertions(+), 6 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index cb627ad738..a87ad293fd 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,16 +1,24 @@ +# This file is automatically synced from: +# https://github.com/autowarefoundation/sync-file-templates +# To make changes, update the source repository and follow the guidelines in its README. + +# https://pre-commit.ci/#configuration ci: autofix_commit_msg: "style(pre-commit): autofix" - autoupdate_commit_msg: "ci(pre-commit): autoupdate" + # we already have our own daily update mechanism, we set this to quarterly + autoupdate_schedule: quarterly + autoupdate_commit_msg: "ci(pre-commit): quarterly autoupdate" repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v5.0.0 hooks: - id: check-json - id: check-merge-conflict - id: check-toml - id: check-xml - id: check-yaml + args: [--unsafe] - id: detect-private-key - id: end-of-file-fixer - id: mixed-line-ending @@ -18,7 +26,7 @@ repos: args: [--markdown-linebreak-ext=md] - repo: https://github.com/igorshubovych/markdownlint-cli - rev: v0.41.0 + rev: v0.43.0 hooks: - id: markdownlint args: [-c, .markdownlint.yaml, --fix] @@ -49,7 +57,7 @@ repos: - id: shellcheck - repo: https://github.com/scop/pre-commit-shfmt - rev: v3.8.0-1 + rev: v3.10.0-2 hooks: - id: shfmt args: [-w, -s, -i=4] @@ -60,9 +68,42 @@ repos: - id: isort - repo: https://github.com/psf/black - rev: 24.4.2 + rev: 24.10.0 hooks: - id: black args: [--line-length=100] -exclude: .svg + - repo: https://github.com/pre-commit/mirrors-clang-format + rev: v19.1.4 + hooks: + - id: clang-format + types_or: [c++, c, cuda] + + - repo: https://github.com/cpplint/cpplint + rev: 2.0.0 + hooks: + - id: cpplint + args: [--quiet] + exclude: .cu + + - repo: https://github.com/python-jsonschema/check-jsonschema + rev: 0.30.0 + hooks: + - id: check-metaschema + files: ^.+/schema/.*schema\.json$ + + - repo: local + hooks: + - id: prettier-svg + name: prettier svg + description: Apply Prettier with plugin-xml to svg. + entry: prettier --write --list-different --ignore-unknown --print-width 200 --xml-self-closing-space false --xml-whitespace-sensitivity ignore + language: node + files: .svg$ + additional_dependencies: [prettier@2.7.1, "@prettier/plugin-xml@2.2.0"] + + - repo: https://github.com/AleksaC/hadolint-py + rev: v2.12.1b3 + hooks: + - id: hadolint + exclude: .svg$ From 4b0485cb0e97808edc55d25b309710f74807a77c Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 16 Dec 2024 13:37:21 +0000 Subject: [PATCH 2/2] style(pre-commit): autofix --- autoware_launch/autoware_launch.drawio.svg | 1358 +++++++++++++++++++- 1 file changed, 1357 insertions(+), 1 deletion(-) diff --git a/autoware_launch/autoware_launch.drawio.svg b/autoware_launch/autoware_launch.drawio.svg index aa1735d154..77d9f7795f 100644 --- a/autoware_launch/autoware_launch.drawio.svg +++ b/autoware_launch/autoware_launch.drawio.svg @@ -1,4 +1,1360 @@ -
autoware.launch.xml

package: autoware_launch
autoware.launch.xml...
launch name

package: package name
launch name...
ex:
ex:
node name

package: package name
node name...
vehicle_info_launch.py

package: tier4_vehicle_launch
vehicle_info_launch.py...
vehicle.launch.xml

package: tier4_vehicle_launch
vehicle.launch.xml...
system.launch.xml

package: tier4_system_launch
system.launch.xml...
map.launch.py

package: tier4_map_launch
map.launch.py...
localization.launch.xml

package: tier4_localization_launch
localization.launch.xml...
perception.launch.xml

package: tier4_perception_launch
perception.launch.xml...
planning.launch.xml

package: tier4_planning_launch
planning.launch.xml...
control.launch.py

package: tier4_control_launch
control.launch.py...
awapi_awiv_adapter.launch.xml

package: tier4_control_launch
awapi_awiv_adapter.launch.xml...
web_controller.launch.xml

package: tier4_control_launch
web_controller.launch.xml...
clock_publisher.launch.xml

package: tier4_control_launch
clock_publisher.launch.xml...
rviz2

package: rviz2
rviz2...
planning_simulator.xml

package: autoware_launch
planning_simulator.xml...
vehicle_info_launch.py

package: tier4_vehicle_launch
vehicle_info_launch.py...
vehicle.launch.xml

package: tier4_vehicle_launch
vehicle.launch.xml...
system.launch.xml

package: tier4_system_launch
system.launch.xml...
map.launch.py

package: tier4_map_launch
map.launch.py...
planning.launch.xml

package: tier4_planning_launch
planning.launch.xml...
control.launch.py

package: tier4_control_launch
control.launch.py...
awapi_awiv_adapter.launch.xml

package: tier4_control_launch
awapi_awiv_adapter.launch.xml...
web_controller.launch.xml

package: tier4_control_launch
web_controller.launch.xml...
clock_publisher.launch.xml

package: tier4_control_launch
clock_publisher.launch.xml...
rviz2

package: rviz2
rviz2...
logging_simulator.launch.xml

package: autoware_launch
logging_simulator.launch.xml...
vehicle_info_launch.py

package: tier4_vehicle_launch
vehicle_info_launch.py...
vehicle_description.launch.xml

package: tier4_vehicle_launch
vehicle_description.launch.xml...
system.launch.xml

package: tier4_system_launch
system.launch.xml...
map.launch.py

package: tier4_map_launch
map.launch.py...
perception.launch.xml

package: tier4_perception_launch
perception.launch.xml...
planning.launch.xml

package: tier4_planning_launch
planning.launch.xml...
control.launch.py

package: tier4_control_launch
control.launch.py...
web_controller.launch.xml

package: tier4_control_launch
web_controller.launch.xml...
rviz2

package: rviz2
rviz2...
$(var vehicle)
$(var vehicle)
True
True
$(var system)
$(var system)
True
True
$(var map)
$(var map)
True
True
sensing.launch.xml

package: tier4_sensing_launch
sensing.launch.xml...
sensing.launch.xml

package: tier4_sensing_launch
sensing.launch.xml...
$(var sensing)
$(var sensing)
True
True
localization.launch.xml

package: tier4_localization_launch
localization.launch.xml...
$(var localization)
$(var localization)
True
True
$(var perception)
$(var perception)
True
True
$(var planning)
$(var planning)
True
True
$(var control)
$(var control)
True
True
simulator.launch.xml

package: tier4_simulator_launch
simulator.launch.xml...
simulator.launch.xml

package: tier4_simulator_launch
simulator.launch.xml...
Viewer does not support full SVG 1.1
\ No newline at end of file + + + + + + + +
+
+
+ autoware.launch.xml +
+
+
+ package: autoware_launch +
+
+
+
+
+ autoware.launch.xml... +
+
+ + + + + + +
+
+
+ launch name +
+
+
+ package: package name +
+
+
+
+
+ launch name... +
+
+ + + + +
+
+
+ ex: +
+
+
+
+ ex: +
+
+ + + + +
+
+
+ node name +
+
+
+ package: package name +
+
+
+
+
+ node name... +
+
+ + + + +
+
+
+ vehicle_info_launch.py +
+
+
+ package: tier4_vehicle_launch +
+
+
+
+
+ vehicle_info_launch.py... +
+
+ + + + +
+
+
+ vehicle.launch.xml +
+
+
+ package: tier4_vehicle_launch +
+
+
+
+
+ vehicle.launch.xml... +
+
+ + + + + + +
+
+
+ system.launch.xml +
+
+
+ package: tier4_system_launch +
+
+
+
+
+ system.launch.xml... +
+
+ + + + + + +
+
+
+ map.launch.py +
+
+
+ package: tier4_map_launch +
+
+
+
+
+ map.launch.py... +
+
+ + + + + + +
+
+
+ localization.launch.xml +
+
+
+ package: tier4_localization_launch +
+
+
+
+
+ localization.launch.xml... +
+
+ + + + + + +
+
+
+ perception.launch.xml +
+
+
+ package: tier4_perception_launch +
+
+
+
+
+ perception.launch.xml... +
+
+ + + + + + +
+
+
+ planning.launch.xml +
+
+
+ package: tier4_planning_launch +
+
+
+
+
+ planning.launch.xml... +
+
+ + + + + + +
+
+
+ control.launch.py +
+
+
+ package: tier4_control_launch +
+
+
+
+
+ control.launch.py... +
+
+ + + + + + +
+
+
+ awapi_awiv_adapter.launch.xml +
+
+
+ package: tier4_control_launch +
+
+
+
+
+ awapi_awiv_adapter.launch.xml... +
+
+ + + + + + +
+
+
+ web_controller.launch.xml +
+
+
+ package: tier4_control_launch +
+
+
+
+
+ web_controller.launch.xml... +
+
+ + + + +
+
+
+ clock_publisher.launch.xml +
+
+
+ package: tier4_control_launch +
+
+
+
+
+ clock_publisher.launch.xml... +
+
+ + + + + + + + +
+
+
+ rviz2 +
+
+
+ package: rviz2 +
+
+
+
+
+ rviz2... +
+
+ + + + + + + + +
+
+
+ planning_simulator.xml +
+
+
+ package: autoware_launch +
+
+
+
+
+ planning_simulator.xml... +
+
+ + + + + + +
+
+
+ vehicle_info_launch.py +
+
+
+ package: tier4_vehicle_launch +
+
+
+
+
+ vehicle_info_launch.py... +
+
+ + + + +
+
+
+ vehicle.launch.xml +
+
+
+ package: tier4_vehicle_launch +
+
+
+
+
+ vehicle.launch.xml... +
+
+ + + + + + +
+
+
+ system.launch.xml +
+
+
+ package: tier4_system_launch +
+
+
+
+
+ system.launch.xml... +
+
+ + + + + + +
+
+
+ map.launch.py +
+
+
+ package: tier4_map_launch +
+
+
+
+
+ map.launch.py... +
+
+ + + + + + +
+
+
+ planning.launch.xml +
+
+
+ package: tier4_planning_launch +
+
+
+
+
+ planning.launch.xml... +
+
+ + + + + + +
+
+
+ control.launch.py +
+
+
+ package: tier4_control_launch +
+
+
+
+
+ control.launch.py... +
+
+ + + + + + +
+
+
+ awapi_awiv_adapter.launch.xml +
+
+
+ package: tier4_control_launch +
+
+
+
+
+ awapi_awiv_adapter.launch.xml... +
+
+ + + + + + +
+
+
+ web_controller.launch.xml +
+
+
+ package: tier4_control_launch +
+
+
+
+
+ web_controller.launch.xml... +
+
+ + + + +
+
+
+ clock_publisher.launch.xml +
+
+
+ package: tier4_control_launch +
+
+
+
+
+ clock_publisher.launch.xml... +
+
+ + + + + + + + +
+
+
+ rviz2 +
+
+
+ package: rviz2 +
+
+
+
+
+ rviz2... +
+
+ + + + + + + + +
+
+
+ logging_simulator.launch.xml +
+
+
+ package: autoware_launch +
+
+
+
+
+ logging_simulator.launch.xml... +
+
+ + + + + + +
+
+
+ vehicle_info_launch.py +
+
+
+ package: tier4_vehicle_launch +
+
+
+
+
+ vehicle_info_launch.py... +
+
+ + + + +
+
+
+ vehicle_description.launch.xml +
+
+
+ package: tier4_vehicle_launch +
+
+
+
+
+ vehicle_description.launch.xml... +
+
+ + + + + + +
+
+
+ system.launch.xml +
+
+
+ package: tier4_system_launch +
+
+
+
+
+ system.launch.xml... +
+
+ + + + + + +
+
+
+ map.launch.py +
+
+
+ package: tier4_map_launch +
+
+
+
+
+ map.launch.py... +
+
+ + + + + + + + +
+
+
+ perception.launch.xml +
+
+
+ package: tier4_perception_launch +
+
+
+
+
+ perception.launch.xml... +
+
+ + + + + + +
+
+
+ planning.launch.xml +
+
+
+ package: tier4_planning_launch +
+
+
+
+
+ planning.launch.xml... +
+
+ + + + + + +
+
+
+ control.launch.py +
+
+
+ package: tier4_control_launch +
+
+
+
+
+ control.launch.py... +
+
+ + + + + + +
+
+
+ web_controller.launch.xml +
+
+
+ package: tier4_control_launch +
+
+
+
+
+ web_controller.launch.xml... +
+
+ + + + + + +
+
+
+ rviz2 +
+
+
+ package: rviz2 +
+
+
+
+
+ rviz2... +
+
+ + + + + + +
+
+
+ $(var vehicle) +
+
+
+
+ $(var vehicle) +
+
+ + + + + +
+
+
+ True +
+
+
+
+ True +
+
+ + + + +
+
+
+ $(var system) +
+
+
+
+ $(var system) +
+
+ + + + + +
+
+
+ True +
+
+
+
+ True +
+
+ + + + +
+
+
+ $(var map) +
+
+
+
+ $(var map) +
+
+ + + + + +
+
+
+ True +
+
+
+
+ True +
+
+ + + + +
+
+
+ sensing.launch.xml +
+
+
+ package: tier4_sensing_launch +
+
+
+
+
+ sensing.launch.xml... +
+
+ + + + + + +
+
+
+ sensing.launch.xml +
+
+
+ package: tier4_sensing_launch +
+
+
+
+
+ sensing.launch.xml... +
+
+ + + + + + +
+
+
+ $(var sensing) +
+
+
+
+ $(var sensing) +
+
+ + + + + +
+
+
+ True +
+
+
+
+ True +
+
+ + + + +
+
+
+ localization.launch.xml +
+
+
+ package: tier4_localization_launch +
+
+
+
+
+ localization.launch.xml... +
+
+ + + + +
+
+
+ $(var localization) +
+
+
+
+ $(var localization) +
+
+ + + + + +
+
+
+ True +
+
+
+
+ True +
+
+ + + + +
+
+
+ $(var perception) +
+
+
+
+ $(var perception) +
+
+ + + + + +
+
+
+ True +
+
+
+
+ True +
+
+ + + + +
+
+
+ $(var planning) +
+
+
+
+ $(var planning) +
+
+ + + + + +
+
+
+ True +
+
+
+
+ True +
+
+ + + + +
+
+
+ $(var control) +
+
+
+
+ $(var control) +
+
+ + + + + +
+
+
+ True +
+
+
+
+ True +
+
+ + + + +
+
+
+ simulator.launch.xml +
+
+
+ package: + tier4_simulator_launch +
+
+
+
+
+ simulator.launch.xml... +
+
+ + + + +
+
+
+ simulator.launch.xml +
+
+
+ package: + tier4_simulator_launch +
+
+
+
+
+ simulator.launch.xml... +
+
+
+ + + + Viewer does not support full SVG 1.1 + + +