File tree Expand file tree Collapse file tree 4 files changed +5
-4
lines changed Expand file tree Collapse file tree 4 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -154,10 +154,10 @@ Use -header-filter=.* to display errors from all non-system headers. Use -system
154
154
rev: v1.1.0
155
155
hooks:
156
156
- id: clang-format
157
- args: [--style=file, --version=20 ]
157
+ args: [--style=file, --version=21 ]
158
158
files: ^(src|include)/.*\. (cpp|cc|cxx|h|hpp)$ # Limits to specific dirs and file types
159
159
- id: clang-tidy
160
- args: [--checks=.clang-tidy, --version=20 ]
160
+ args: [--checks=.clang-tidy, --version=21 ]
161
161
files: ^(src|include)/.*\. (cpp|cc|cxx|h|hpp)$
162
162
` ` `
163
163
Original file line number Diff line number Diff line change @@ -119,6 +119,7 @@ def get_version_from_dependency(tool: str) -> Optional[str]:
119
119
"19.1.0" ,
120
120
"19.1.0.1" ,
121
121
"20.1.0" ,
122
+ "21.1.0" ,
122
123
]
123
124
124
125
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ tracker = "https://github.com/cpp-linter/cpp-linter-hooks/issues"
49
49
# only clang tools can added to this section to make hooks work
50
50
tools = [
51
51
" clang-format==21.1.0" ,
52
- " clang-tidy==20 .1.0" ,
52
+ " clang-tidy==21 .1.0" ,
53
53
]
54
54
55
55
dev = [
Original file line number Diff line number Diff line change 40
40
- id : clang-format
41
41
args : [--style=file, --version=21]
42
42
- id : clang-tidy
43
- args : [--checks=.clang-tidy, --version=20] # clang-tidy does not support version 21
43
+ args : [--checks=.clang-tidy, --version=21]
You can’t perform that action at this time.
0 commit comments