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

Enforce compliance of clang-format style #375

Merged
merged 1 commit into from
Jul 21, 2021
Merged

Conversation

diegoferigo
Copy link
Collaborator

@diegoferigo diegoferigo commented Jul 21, 2021

This PR introduces a new workflow that uses diegoferigo/gh-action-clang-format to enforce on opened PRs the C++ style defined in the file .clang-format stored in the repository root.

Note: the workflow filters only *.cpp and *.h files, therefore the vendored resources from upstream (that use *.hh and *.cc) are not affected.

I plan on the long term to do something similar also for Python using black.

@diegoferigo diegoferigo requested a review from traversaro July 21, 2021 12:46
@diegoferigo diegoferigo self-assigned this Jul 21, 2021
@diegoferigo diegoferigo changed the title Enforce compliance on clang-format style Enforce compliance of clang-format style Jul 21, 2021
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.

2 participants