Skip to content

Commit 8a04753

Browse files
committed
style: fix clang-tidy
Signed-off-by: Zone.N <zone.niuzh@hotmail.com>
1 parent 687d62d commit 8a04753

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.pre-commit-config.yaml

+7-7
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ repos:
2222
- id: clang-format
2323
args:
2424
- --style=file
25-
# - id: clang-tidy
26-
# args:
27-
# - --checks=.clang-tidy
28-
# - -p=/root/SimpleKernel/build_x86_64/build_x86_64/compiler_commands.json
29-
# - -extra-arg=--std=c++2b
30-
# - --fix
31-
# - --header-filter=^(/root/SimpleKernel/build_x86_64/src/).*
25+
- id: clang-tidy
26+
args:
27+
- --checks=.clang-tidy
28+
- -p=/root/SimpleKernel/build_x86_64/build_x86_64/compiler_commands.json
29+
- -extra-arg=--std=c++2b
30+
- --fix
31+
- --header-filter=^(/root/SimpleKernel/build_x86_64/src/).*
3232
# - --exclude-header-filter=^(?/root/SimpleKernel/build_x86_64/src/arch/x86_64|/root/SimpleKernel/build_x86_64/src/arch/aarch64).*
3333
# - id: clang-tidy
3434
# args:

0 commit comments

Comments
 (0)