Skip to content

ci(pre-commit): quarterly autoupdate #187

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ repos:
args: [--markdown-linebreak-ext=md]

- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.43.0
rev: v0.44.0
hooks:
- id: markdownlint
args: [-c, .markdownlint.yaml, --fix]
Expand All @@ -37,7 +37,7 @@ repos:
- id: prettier

- repo: https://github.com/adrienverge/yamllint
rev: v1.35.1
rev: v1.37.0
hooks:
- id: yamllint

Expand All @@ -57,37 +57,37 @@ repos:
- id: shellcheck

- repo: https://github.com/scop/pre-commit-shfmt
rev: v3.10.0-2
rev: v3.11.0-1
hooks:
- id: shfmt
args: [-w, -s, -i=4]

- repo: https://github.com/pycqa/isort
rev: 5.13.2
rev: 6.0.1
hooks:
- id: isort

- repo: https://github.com/psf/black
rev: 24.10.0
rev: 25.1.0
hooks:
- id: black
args: [--line-length=100]

- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v19.1.5
rev: v20.1.0
hooks:
- id: clang-format
types_or: [c++, c, cuda]

- repo: https://github.com/cpplint/cpplint
rev: 2.0.0
rev: 2.0.1
hooks:
- id: cpplint
args: [--quiet]
exclude: .cu

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.30.0
rev: 0.32.1
hooks:
- id: check-metaschema
files: ^.+/schema/.*schema\.json$
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,12 @@ TEST_F(JsonProcessingTest, ParseValidatorsWithValidInput)
validators["parsing.valid_input.no_prerequisites2"].prereq_with_forgive_warnings.size(), 0);
EXPECT_EQ(
validators["parsing.valid_input.with_prerequisites1"].prereq_with_forgive_warnings.size(), 2);
EXPECT_TRUE(validators["parsing.valid_input.with_prerequisites1"]
.prereq_with_forgive_warnings["parsing.valid_input.no_prerequisites1"]);
EXPECT_FALSE(validators["parsing.valid_input.with_prerequisites1"]
.prereq_with_forgive_warnings["parsing.valid_input.no_prerequisites2"]);
EXPECT_TRUE(
validators["parsing.valid_input.with_prerequisites1"]
.prereq_with_forgive_warnings["parsing.valid_input.no_prerequisites1"]);
EXPECT_FALSE(
validators["parsing.valid_input.with_prerequisites1"]
.prereq_with_forgive_warnings["parsing.valid_input.no_prerequisites2"]);
}

TEST_F(JsonProcessingTest, CreateValidationQueueNoCycles)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -290,8 +290,9 @@ void StaticCenterlineGeneratorNode::visualize_selected_centerline()

// delete markers for validation
pub_validation_results_->publish(utils::create_delete_all_marker_array({}, now()));
pub_debug_markers_->publish(utils::create_delete_all_marker_array(
{"unsafe_footprints", "unsafe_footprints_distance"}, now()));
pub_debug_markers_->publish(
utils::create_delete_all_marker_array(
{"unsafe_footprints", "unsafe_footprints_distance"}, now()));
pub_debug_ego_footprint_bounds_->publish(
utils::create_delete_all_marker_array({"road_bounds"}, now()));
}
Expand Down Expand Up @@ -341,8 +342,9 @@ CenterlineWithRoute StaticCenterlineGeneratorNode::generate_whole_centerline_wit
centerline_with_route.centerline =
resample_trajectory_points(centerline_with_route.centerline, output_trajectory_interval);

pub_whole_centerline_->publish(autoware::motion_utils::convertToTrajectory(
centerline_with_route.centerline, create_header(this->now())));
pub_whole_centerline_->publish(
autoware::motion_utils::convertToTrajectory(
centerline_with_route.centerline, create_header(this->now())));

return centerline_with_route;
}
Expand Down
Loading