Skip to content

chore: Add cpp formatting to the pre-commit hook #7888

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

Merged
merged 1 commit into from
Jul 24, 2025

Conversation

MatiPl01
Copy link
Member

Summary

It is annoying that the code I commit is often not properly formatted and I have to run the formatting command manually and commit the code again. For some reason my local cpp formatter formats code in a bit different way than it is supposed and I don't know how to fix it yet.

Nevertheless, I feel that adding a pre-commit step that fixes formatting in modified cpp files is beneficial and doesn't cost much.

@MatiPl01 MatiPl01 added this pull request to the merge queue Jul 24, 2025
Merged via the queue into main with commit 9b48a6b Jul 24, 2025
12 checks passed
@MatiPl01 MatiPl01 deleted the @matipl01/cpp-formatting-in-precommit branch July 24, 2025 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants