-
Notifications
You must be signed in to change notification settings - Fork 14
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
chore(ci): fix cpplint errors from pre-commit ci #15
Conversation
Signed-off-by: Ryohsuke Mitsudome <[email protected]>
aad941e
to
b503a08
Compare
An alternative way is to reconfigure cpplint to remove the check for |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #15 +/- ##
==========================================
- Coverage 15.93% 0.00% -15.94%
==========================================
Files 40 40
Lines 2748 2737 -11
Branches 1339 463 -876
==========================================
- Hits 438 0 -438
- Misses 2222 2737 +515
+ Partials 88 0 -88
☔ View full report in Codecov by Sentry. |
@mitsudome-r You can use |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mitsudome-r LGTM, thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
It's my fault. Thank you for the fix.
Description
This PR fixes errors from cpplint in pre-commit ci.
When #4 was merged,
// NOLINTNEXTLINE
was used to suppress errors.However, cpplint in version 1.6.1 does not recognize
cppcoreguidelines-pro-bounds-pointer-arithmetic
as a supported category and outputs the following error when you runpre-commit run -a
We can instead use NOLINTBEGIN to generally ignore the lint for relevant lines.
Tests performed
Not applicable.
Effects on system behavior
Not applicable.
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.
In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.
Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.
After all checkboxes are checked, anyone who has write access can merge the PR.