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

Limit clang-format to c/c++/cuda types #22

Merged
merged 3 commits into from
Mar 21, 2024
Merged

Conversation

lkeegan
Copy link
Member

@lkeegan lkeegan commented Mar 21, 2024

  • as done in https://github.com/ssciwr/clang-format-wheel pre-commit example
  • implicit default value of types_or is [c++, c, c#, cuda, java, javascript, json, objective-c, proto, textproto]
  • some of these, in particular javascript and json, can interfere with other hooks

lkeegan and others added 2 commits March 21, 2024 08:25
- as done in https://github.com/ssciwr/clang-format-wheel pre-commit example
- implicit default value of `types_or` is `[c++, c, c#, cuda, java, javascript, json, objective-c, proto, textproto]`
- some of these, in particular javascript and json, can interfere with other hooks
precommend/.pre-commit-config.yaml Outdated Show resolved Hide resolved
@dokempf dokempf self-requested a review March 21, 2024 12:40
@dokempf dokempf merged commit 8350b99 into main Mar 21, 2024
2 checks passed
@dokempf dokempf deleted the specify_types_for_clang_format branch April 23, 2024 12:37
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