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.
2 parents 7f3c0d9 + 0ad0c67 commit b53f037Copy full SHA for b53f037
.pre-commit-config.yaml
@@ -0,0 +1,18 @@
1
+# .pre-commit-config.yaml
2
+# for details see https://pre-commit.com
3
+# for list of available hooks see https://pre-commit.com/hooks.html
4
+#
5
+# Preclude commits that do not conform to various criteria.
6
7
+# If a pre-commit check must be skipped then use: `SKIP=check_id git commit` Where `check_id` is the id of the check to
8
+# be skipped such as `black`.
9
+
10
+fail_fast: true
11
+default_stages: [pre-commit]
12
+repos:
13
+- repo: https://github.com/pre-commit/mirrors-clang-format
14
+ rev: v19.1.7
15
+ hooks:
16
+ - id: clang-format
17
+ args: ['--style=file']
18
+ files: '\.(c|cc|h|cxx|hxx)$'
0 commit comments