Closed diegoferigo closed 2 years ago
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.
.clang-format
Note: the workflow filters only *.cpp and *.h files, therefore the vendored resources from upstream (that use *.hh and *.cc) are not affected.
*.cpp
*.h
*.hh
*.cc
I plan on the long term to do something similar also for Python using black.
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.