Skip to content
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

Add clang format hook to pre-commit #367

Merged
merged 10 commits into from
Dec 13, 2024

Conversation

patkenneally
Copy link
Collaborator

Description

Clang-format hook is added to pre-commit. This hook will format C/C++ code according to the clang-format definitions in the .clang-format file in the project root.

Verification

As an example, the FacetDragDynamicEffector module was cleaned up a little and then pre-commit's results are contained in the last commit.

Documentation

NA

Future work

NA

@patkenneally patkenneally force-pushed the ci/add-clang-format-clang-tidy-precommit branch 2 times, most recently from 26697fd to e7313c7 Compare December 9, 2024 23:49
@patkenneally patkenneally force-pushed the ci/add-clang-format-clang-tidy-precommit branch from e7313c7 to d1570e4 Compare December 11, 2024 22:50
@patkenneally patkenneally force-pushed the ci/add-clang-format-clang-tidy-precommit branch from d1570e4 to 1f3eed8 Compare December 12, 2024 16:18
@patkenneally patkenneally force-pushed the ci/add-clang-format-clang-tidy-precommit branch from 1f3eed8 to c29db2f Compare December 13, 2024 17:17
@patkenneally patkenneally merged commit 66a5059 into develop Dec 13, 2024
4 checks passed
@patkenneally patkenneally deleted the ci/add-clang-format-clang-tidy-precommit branch December 13, 2024 18:08
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