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
154154 rev: v1.1.0
155155 hooks:
156156 - id: clang-format
157- args: [--style=file, --version=20 ]
157+ args: [--style=file, --version=21 ]
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=20 ]
160+ args: [--checks=.clang-tidy, --version=21 ]
161161 files: ^(src|include)/.*\. (cpp|cc|cxx|h|hpp)$
162162` ` `
163163
Original file line number Diff line number Diff line change @@ -119,6 +119,7 @@ def get_version_from_dependency(tool: str) -> Optional[str]:
119119 "19.1.0" ,
120120 "19.1.0.1" ,
121121 "20.1.0" ,
122+ "21.1.0" ,
122123]
123124
124125
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ tracker = "https://github.com/cpp-linter/cpp-linter-hooks/issues"
4949# only clang tools can added to this section to make hooks work
5050tools = [
5151 " clang-format==21.1.0" ,
52- " clang-tidy==20 .1.0" ,
52+ " clang-tidy==21 .1.0" ,
5353]
5454
5555dev = [
Original file line number Diff line number Diff line change 4040 - id : clang-format
4141 args : [--style=file, --version=21]
4242 - 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