@@ -29,7 +29,7 @@ Add this configuration to your `.pre-commit-config.yaml` file:
29
29
``` yaml
30
30
repos :
31
31
- repo : https://github.com/cpp-linter/cpp-linter-hooks
32
- rev : v1.0.0 # Use the tag or commit you want
32
+ rev : v1.0.1 # Use the tag or commit you want
33
33
hooks :
34
34
- id : clang-format
35
35
args : [--style=Google] # Other coding style: LLVM, GNU, Chromium, Microsoft, Mozilla, WebKit.
@@ -44,7 +44,7 @@ To use custom configurations like `.clang-format` and `.clang-tidy`:
44
44
` ` ` yaml
45
45
repos:
46
46
- repo: https://github.com/cpp-linter/cpp-linter-hooks
47
- rev: v1.0.0
47
+ rev: v1.0.1
48
48
hooks:
49
49
- id: clang-format
50
50
args: [--style=file] # Loads style from .clang-format file
@@ -59,7 +59,7 @@ To use specific versions of clang-format and clang-tidy (using Python wheel pack
59
59
` ` ` yaml
60
60
repos:
61
61
- repo: https://github.com/cpp-linter/cpp-linter-hooks
62
- rev: v1.0.0
62
+ rev: v1.0.1
63
63
hooks:
64
64
- id: clang-format
65
65
args: [--style=file, --version=18] # Specifies version
@@ -149,7 +149,7 @@ Use -header-filter=.* to display errors from all non-system headers. Use -system
149
149
150
150
` ` ` yaml
151
151
- repo: https://github.com/cpp-linter/cpp-linter-hooks
152
- rev: v1.0.0
152
+ rev: v1.0.1
153
153
hooks:
154
154
- id: clang-format
155
155
args: [--style=file, --version=18]
@@ -175,7 +175,7 @@ This approach ensures that only modified files are checked, further speeding up
175
175
` ` ` yaml
176
176
repos:
177
177
- repo: https://github.com/cpp-linter/cpp-linter-hooks
178
- rev: v1.0.0
178
+ rev: v1.0.1
179
179
hooks:
180
180
- id: clang-format
181
181
args: [--style=file, --version=18, --verbose] # Add -v or --verbose for detailed output
0 commit comments