diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4fba0dc..86cd69b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -60,6 +60,7 @@ repos: rev: v18.1.1 hooks: - id: clang-format # Format C++ code with Clang-Format - automatically applying the changes + types_or: [c++, c, c#, cuda, objective-c] args: - --style=Mozilla diff --git a/precommend/.pre-commit-config.yaml b/precommend/.pre-commit-config.yaml index 4fba0dc..86cd69b 100644 --- a/precommend/.pre-commit-config.yaml +++ b/precommend/.pre-commit-config.yaml @@ -60,6 +60,7 @@ repos: rev: v18.1.1 hooks: - id: clang-format # Format C++ code with Clang-Format - automatically applying the changes + types_or: [c++, c, c#, cuda, objective-c] args: - --style=Mozilla