Skip to content

Commit 0134570

Browse files
authored
fix: change require_serial to true (#85)
* fix: change require_serial to true * chore: bump version to v0.8.3
1 parent 4c2dece commit 0134570

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.pre-commit-hooks.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@
44
entry: clang-format-hook
55
language: python
66
files: \.(h\+\+|h|hh|hxx|hpp|c|cc|cpp|c\+\+|cxx)$
7+
require_serial: true
78

89
- id: clang-tidy
910
name: clang-tidy
1011
description: Automatically install any specific version of clang-tidy and diagnose/fix typical programming errors
1112
entry: clang-tidy-hook
1213
language: python
1314
files: \.(h\+\+|h|hh|hxx|hpp|c|cc|cpp|c\+\+|cxx)$
15+
require_serial: true

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Add this configuration to your `.pre-commit-config.yaml` file:
2929
```yaml
3030
repos:
3131
- repo: https://github.com/cpp-linter/cpp-linter-hooks
32-
rev: v0.8.1 # Use the tag or commit you want
32+
rev: v0.8.3 # Use the tag or commit you want
3333
hooks:
3434
- id: clang-format
3535
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`:
4444
```yaml
4545
repos:
4646
- repo: https://github.com/cpp-linter/cpp-linter-hooks
47-
rev: v0.8.1
47+
rev: v0.8.3
4848
hooks:
4949
- id: clang-format
5050
args: [--style=file] # Loads style from .clang-format file
@@ -59,7 +59,7 @@ To use specific versions of [clang-tools](https://github.com/cpp-linter/clang-to
5959
```yaml
6060
repos:
6161
- repo: https://github.com/cpp-linter/cpp-linter-hooks
62-
rev: v0.8.1
62+
rev: v0.8.3
6363
hooks:
6464
- id: clang-format
6565
args: [--style=file, --version=18] # Specifies version
@@ -146,7 +146,7 @@ Use -header-filter=.* to display errors from all non-system headers. Use -system
146146

147147
```yaml
148148
- repo: https://github.com/cpp-linter/cpp-linter-hooks
149-
rev: v0.8.1
149+
rev: v0.8.3
150150
hooks:
151151
- id: clang-format
152152
args: [--style=file, --version=18]
@@ -172,7 +172,7 @@ This approach ensures that only modified files are checked, further speeding up
172172
```yaml
173173
repos:
174174
- repo: https://github.com/cpp-linter/cpp-linter-hooks
175-
rev: v0.8.1
175+
rev: v0.8.3
176176
hooks:
177177
- id: clang-format
178178
args: [--style=file, --version=18, --verbose] # Add -v or --verbose for detailed output

0 commit comments

Comments
 (0)