Skip to content

Enabling clang tidy CI failures#998

Open
K20shores wants to merge 2 commits into
mainfrom
clang_tidy_improvements
Open

Enabling clang tidy CI failures#998
K20shores wants to merge 2 commits into
mainfrom
clang_tidy_improvements

Conversation

@K20shores
Copy link
Copy Markdown
Collaborator

@K20shores K20shores commented May 27, 2026

Closes #988

  • enables clang tidy to cause failures
  • places all checks in the dockerfile so they can easily be run on local computers
  • nothing is addressed yet because there's too many to comfortably do in one PR

@K20shores K20shores mentioned this pull request May 27, 2026
32 tasks
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.95%. Comparing base (302a3ef) to head (da2be68).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #998   +/-   ##
=======================================
  Coverage   94.95%   94.95%           
=======================================
  Files          53       53           
  Lines        4397     4399    +2     
=======================================
+ Hits         4175     4177    +2     
  Misses        222      222           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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

@K20shores K20shores marked this pull request as ready for review May 27, 2026 17:12
@K20shores K20shores requested a review from boulderdaze May 27, 2026 17:12
Comment thread .clang-tidy
Comment on lines +92 to +93
- key: readability-identifier-naming.ConstantCase
value: lower_case
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I know at least one constant GAS_CONSTANT is not lower case.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

true, do you have a preference for how we should name these? We have said in the past that we adhere to the google style guide, but they have a different naming convention for constants. I don't actually care what pattern we you, so happy to make clang tidy do whatever you like most

Copy link
Copy Markdown
Collaborator

@boulderdaze boulderdaze May 27, 2026

Choose a reason for hiding this comment

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

I think we can just use uppercase since the constants defined in util/constants.hpp use uppercase, though I could be wrong in other part of the code. In that case, we might want to disable this check. I also don’t have a preference about code style.

@boulderdaze
Copy link
Copy Markdown
Collaborator

Not a big deal, but since the PR title becomes the content of the release, it might be nice to make the issue name a bit more formal.

@K20shores K20shores changed the title setting up clang tidy again Enabling clang tidy CI failures May 27, 2026
@K20shores
Copy link
Copy Markdown
Collaborator Author

Not a big deal, but since the PR title becomes the content of the release, it might be nice to make the issue name a bit more formal.

updated. Feel free to change it if you have a better idea

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.

Enable clang tidy action and checks

3 participants