Skip to content

Conversation

@kluge7
Copy link
Contributor

@kluge7 kluge7 commented Nov 16, 2025

No description provided.

@kluge7 kluge7 requested a review from Copilot November 16, 2025 23:07
@kluge7 kluge7 changed the title refactor: merge .pre-commit-config-local.yaml and .pre-commit-config.yaml and update CI workflow to use that new file, also removed pre-commit.ci badge from README refactor: unify pre-commit configs and update CI workflow Nov 16, 2025
…yaml and update CI workflow to use that new file, also removed pre-commit.ci badge from README
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR consolidates pre-commit configuration by merging .pre-commit-config-local.yaml into .pre-commit-config.yaml, updates the CI workflow to use the unified configuration file, and removes the pre-commit.ci badge from the README.

  • Merged local ROS2 ament linter hooks (ament_cppcheck, ament_cpplint, ament_lint_cmake) into the main pre-commit config
  • Updated GitHub workflow to reference .pre-commit-config.yaml instead of .pre-commit-config-local.yaml
  • Removed pre-commit.ci badge from README and added .vscode/ and log/ to .gitignore

Reviewed Changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
README.md Removed pre-commit.ci badge, consistent with moving away from the pre-commit.ci service
.pre-commit-config.yaml Added three local ROS2 ament linter hooks from the local config file
.pre-commit-config-local.yaml Contains a stray "r" character that should be removed
.gitignore Added .vscode/ and log/ directory ignores
.github/workflows/pre-commit.yml Updated to use .pre-commit-config.yaml instead of .pre-commit-config-local.yaml
Comments suppressed due to low confidence (1)

.pre-commit-config-local.yaml:21

  • The file should be completely empty or deleted after merging its content into .pre-commit-config.yaml. The stray character "r" on line 21 appears to be a typo and will cause YAML parsing errors if this file is accidentally used.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codecov
Copy link

codecov bot commented Nov 16, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.00%. Comparing base (52b90b0) to head (81b3b31).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@          Coverage Diff          @@
##            main     #15   +/-   ##
=====================================
  Coverage   0.00%   0.00%           
=====================================
  Files          3       3           
  Lines        234     234           
  Branches      18      18           
=====================================
  Misses       234     234           
Flag Coverage Δ
unittests 0.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 7 out of 8 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@@ -1,11 +1,14 @@
name: pre-commit
Copy link

Copilot AI Nov 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] Inconsistent formatting: This workflow file is missing a blank line after the name: declaration, while other workflow files in this PR (industrial-ci.yml, code-coverage.yml, semantic-release.yml) maintain a blank line between name: and on:. Consider adding a blank line after line 1 for consistency.

Suggested change
name: pre-commit
name: pre-commit

Copilot uses AI. Check for mistakes.
@kluge7 kluge7 merged commit 1451a74 into main Nov 16, 2025
11 checks passed
@kluge7 kluge7 deleted the ci/refactor-pre-commit branch November 16, 2025 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants