Skip to content

Commit cd08d50

Browse files
committed
docs: update defacult version
1 parent 0b8f9ab commit cd08d50

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,10 +154,10 @@ Use -header-filter=.* to display errors from all non-system headers. Use -system
154154
rev: v1.1.0
155155
hooks:
156156
- id: clang-format
157-
args: [--style=file, --version=18]
157+
args: [--style=file, --version=20]
158158
files: ^(src|include)/.*\.(cpp|cc|cxx|h|hpp)$ # Limits to specific dirs and file types
159159
- id: clang-tidy
160-
args: [--checks=.clang-tidy, --version=18]
160+
args: [--checks=.clang-tidy, --version=20]
161161
files: ^(src|include)/.*\.(cpp|cc|cxx|h|hpp)$
162162
```
163163

testing/pre-commit-config-verbose.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ repos:
33
rev: HEAD
44
hooks:
55
- id: clang-format
6-
args: [--style=file, --version=16, --verbose] # test with verbose output
6+
args: [--style=file, --version=21, --verbose] # test with verbose output
77
- repo: .
88
rev: HEAD
99
hooks:
1010
- id: clang-format
11-
args: [--style=file, --version=16, -v] # test with verbose output
11+
args: [--style=file, --version=21, -v] # test with verbose output

testing/pre-commit-config-version.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,10 @@ repos:
3434
args: [--style=file, --version=20]
3535
- id: clang-tidy
3636
args: [--checks=.clang-tidy, --version=20]
37+
- repo: .
38+
rev: HEAD
39+
hooks:
40+
- id: clang-format
41+
args: [--style=file, --version=21]
42+
- id: clang-tidy
43+
args: [--checks=.clang-tidy, --version=21]

0 commit comments

Comments
 (0)