From 548e187b1489de580ca6b996839afa50f9a49791 Mon Sep 17 00:00:00 2001 From: github-actions Date: Fri, 14 Jun 2024 00:13:59 +0000 Subject: [PATCH 1/2] ci(pre-commit): autoupdate Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- .pre-commit-config.yaml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a5ca7b6c..823ff516 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,7 +3,7 @@ ci: repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v4.6.0 hooks: - id: check-json - id: check-merge-conflict @@ -18,18 +18,18 @@ repos: args: [--markdown-linebreak-ext=md] - repo: https://github.com/igorshubovych/markdownlint-cli - rev: v0.33.0 + rev: v0.41.0 hooks: - id: markdownlint args: [-c, .markdownlint.yaml, --fix] - repo: https://github.com/pre-commit/mirrors-prettier - rev: v3.0.0-alpha.6 + rev: v4.0.0-alpha.8 hooks: - id: prettier - repo: https://github.com/adrienverge/yamllint - rev: v1.30.0 + rev: v1.35.1 hooks: - id: yamllint @@ -44,29 +44,29 @@ repos: - id: sort-package-xml - repo: https://github.com/shellcheck-py/shellcheck-py - rev: v0.9.0.2 + rev: v0.10.0.1 hooks: - id: shellcheck - repo: https://github.com/scop/pre-commit-shfmt - rev: v3.6.0-2 + rev: v3.8.0-1 hooks: - id: shfmt args: [-w, -s, -i=4] - repo: https://github.com/pycqa/isort - rev: 5.12.0 + rev: 5.13.2 hooks: - id: isort - repo: https://github.com/psf/black - rev: 23.3.0 + rev: 24.4.2 hooks: - id: black args: [--line-length=100] - repo: https://github.com/pre-commit/mirrors-clang-format - rev: v16.0.0 + rev: v18.1.6 hooks: - id: clang-format types_or: [c++, c, cuda] @@ -79,7 +79,7 @@ repos: exclude: .cu - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.23.2 + rev: 0.28.5 hooks: - id: check-metaschema files: ^.+/schema/.*schema\.json$ From e0f020aec77a04b4e7451f4149a8e631b55d7790 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 14 Jun 2024 00:14:14 +0000 Subject: [PATCH 2/2] style(pre-commit): autofix --- tmp/lanelet2_extension/lib/visualization.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tmp/lanelet2_extension/lib/visualization.cpp b/tmp/lanelet2_extension/lib/visualization.cpp index 7ae33727..71858c1d 100644 --- a/tmp/lanelet2_extension/lib/visualization.cpp +++ b/tmp/lanelet2_extension/lib/visualization.cpp @@ -694,7 +694,7 @@ visualization_msgs::msg::MarkerArray visualization::detectionAreasAsMarkerArray( marker.colors.push_back(c); } } // for triangles0 - } // for detection areas + } // for detection areas marker_array.markers.push_back(marker); // stop line visualization @@ -761,7 +761,7 @@ visualization_msgs::msg::MarkerArray visualization::noParkingAreasAsMarkerArray( marker.colors.push_back(c); } } // for triangles0 - } // for no_parking areas + } // for no_parking areas marker_array.markers.push_back(marker); } // for regulatory elements return marker_array; @@ -831,7 +831,7 @@ visualization_msgs::msg::MarkerArray visualization::noStoppingAreasAsMarkerArray marker.colors.push_back(c); } } // for triangles0 - } // for no_stopping areas + } // for no_stopping areas marker_array.markers.push_back(marker); const auto & stop_line = no_reg_elem->stopLine(); // stop line visualization