-
Notifications
You must be signed in to change notification settings - Fork 19
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
Fixes #256: various coverity issues in the HTTP/1 adaptor #657
Conversation
Codecov Report
@@ Coverage Diff @@
## main #657 +/- ##
==========================================
- Coverage 25.91% 25.90% -0.01%
==========================================
Files 128 128
Lines 31186 31189 +3
Branches 4972 4972
==========================================
Hits 8081 8081
- Misses 22050 22053 +3
Partials 1055 1055
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
you should be able to run |
Ok - good to know. That second clang-format failure (fixed by the last commit) surprised me since - once I fetched/rebased on the latest main with the pre-commit hook - I was able to check in what was apparently a clang-format violation. Here's the workflow that failed:
Best I can tell is that I would've caught the second clang-format issue if I re-ran git clang-format again after adding the fixes from the previous run of git clang-format. Essentially adding step 5.a: run git clang-format, then repeat until Profit! I think the reason for that may be there were two clang-format violations on the same line of code (align vars, then align equal sign). What's funny is that step 6 commit worked even though the equal signs were unaligned. |
The pre-commit only checks what you are currently committing (with Things will be much better when whole codebase is formatted, then we can run clang-format the way git-precommit.com means it to be run! But when you know what the clang-format GHA is running and you run it yourself, it should be manageable, I hope. If there was a good way to figure out base commit when running pre-commit, then the precommit action could run the same thing... |
No description provided.