-
Notifications
You must be signed in to change notification settings - Fork 28
Exclude paths/files from being formatted #49
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
Comments
I think the python script in this repo is overriding it. See:
|
I know, that's the problem with this Try: git ls-files ::*.cpp ::*.json | xargs clang-format -i |
I know how to run clang-format. The bug report is about this cmake module. So explicit clang-format invocation is not the solution. |
see #41 The implementation is not as good as it should with an old local copy of the That is the real problem. |
We use kind of mono repo and thus our repo consists of a mix of languages such as C++, Python, Go and Java. The tree is somewhat akin to this.
How do we exclude certain paths and files from being formatted? Alternatively, is there a way to include only certain paths?
The text was updated successfully, but these errors were encountered: