We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67cbdf8 commit df8badaCopy full SHA for df8bada
.pre-commit-config.yaml
@@ -18,6 +18,14 @@ repos:
18
- id: detect-private-key
19
files: (?!.*third_party)^.*$ | (?!.*book)^.*$
20
- id: end-of-file-fixer
21
+- repo: local
22
+ hooks:
23
+ - id: clang-format-with-version-check
24
+ name: clang-format
25
+ description: Format files with ClangFormat.
26
+ entry: bash ./tools/codestyle/clang_format.hook -i
27
+ language: system
28
+ files: \.(c|cc|cxx|cpp|cu|h|hpp|hxx|proto)$
29
- repo: local
30
hooks:
31
- id: cpplint-cpp-source
0 commit comments