Skip to content

Commit 2a7d1b7

Browse files
authored
Update cpp-linter-hooks version to v1.4.1
1 parent dc39cb9 commit 2a7d1b7

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Add this configuration to your `.pre-commit-config.yaml` file:
5454
```yaml
5555
repos:
5656
- repo: https://github.com/cpp-linter/cpp-linter-hooks
57-
rev: v1.4.0 # Use the tag or commit you want
57+
rev: v1.4.1 # Use the tag or commit you want
5858
hooks:
5959
- id: clang-format
6060
args: [--style=Google] # Other coding style: LLVM, GNU, Chromium, Microsoft, Mozilla, WebKit.
@@ -69,7 +69,7 @@ To use custom configurations like `.clang-format` and `.clang-tidy`:
6969
```yaml
7070
repos:
7171
- repo: https://github.com/cpp-linter/cpp-linter-hooks
72-
rev: v1.4.0
72+
rev: v1.4.1
7373
hooks:
7474
- id: clang-format
7575
args: [--style=file] # Loads style from .clang-format file
@@ -78,7 +78,7 @@ repos:
7878
```
7979

8080
> [!TIP]
81-
> The `rev` tag (e.g. `v1.4.0`) is the **project** version, not the clang tool version. Each release bundles a default version of `clang-format` and `clang-tidy` — check the [release notes](https://github.com/cpp-linter/cpp-linter-hooks/releases) to see which tool version a given `rev` ships with. To pin an exact tool version independently of the project release, use `--version` as shown below.
81+
> The `rev` tag (e.g. `v1.4.1`) is the **project** version, not the clang tool version. Each release bundles a default version of `clang-format` and `clang-tidy` — check the [release notes](https://github.com/cpp-linter/cpp-linter-hooks/releases) to see which tool version a given `rev` ships with. To pin an exact tool version independently of the project release, use `--version` as shown below.
8282

8383
### Custom Clang Tool Version
8484

@@ -87,7 +87,7 @@ To use specific versions of clang-format and clang-tidy (using Python wheel pack
8787
```yaml
8888
repos:
8989
- repo: https://github.com/cpp-linter/cpp-linter-hooks
90-
rev: v1.4.0
90+
rev: v1.4.1
9191
hooks:
9292
- id: clang-format
9393
args: [--style=file, --version=21] # Specifies version
@@ -111,7 +111,7 @@ automatically — no configuration needed for most projects:
111111
```yaml
112112
repos:
113113
- repo: https://github.com/cpp-linter/cpp-linter-hooks
114-
rev: v1.4.0
114+
rev: v1.4.1
115115
hooks:
116116
- id: clang-tidy
117117
args: [--checks=.clang-tidy]
@@ -226,7 +226,7 @@ Use -header-filter=.* to display errors from all non-system headers. Use -system
226226
```yaml
227227
repos:
228228
- repo: https://github.com/cpp-linter/cpp-linter-hooks
229-
rev: v1.4.0 # requires the version that introduced --fix
229+
rev: v1.4.1 # requires the version that introduced --fix
230230
hooks:
231231
- id: clang-tidy
232232
args: [--checks=.clang-tidy, --fix]
@@ -245,7 +245,7 @@ repos:
245245

246246
```yaml
247247
- repo: https://github.com/cpp-linter/cpp-linter-hooks
248-
rev: v1.4.0
248+
rev: v1.4.1
249249
hooks:
250250
- id: clang-format
251251
args: [--style=file, --version=21]
@@ -260,7 +260,7 @@ or `-j`:
260260

261261
```yaml
262262
- repo: https://github.com/cpp-linter/cpp-linter-hooks
263-
rev: v1.4.0
263+
rev: v1.4.1
264264
hooks:
265265
- id: clang-tidy
266266
args: [--checks=.clang-tidy, --version=21, --jobs=4]
@@ -289,7 +289,7 @@ This approach ensures that only modified files are checked, further speeding up
289289
```yaml
290290
repos:
291291
- repo: https://github.com/cpp-linter/cpp-linter-hooks
292-
rev: v1.4.0
292+
rev: v1.4.1
293293
hooks:
294294
- id: clang-format
295295
args: [--style=file, --version=21, --verbose] # Shows processed files

0 commit comments

Comments
 (0)