From 24978fff7b41025c842d89cefc771b9dd61ea793 Mon Sep 17 00:00:00 2001 From: "Zone.N" Date: Mon, 9 Dec 2024 06:41:27 +0000 Subject: [PATCH] perf: replace with template Signed-off-by: Zone.N --- .pre-commit-config.yaml | 2 +- tools/.pre-commit-config.yaml.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 451598a3..a0a1c1ce 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -28,7 +28,7 @@ repos: - -p=/root/SimpleKernel/build_x86_64/build_x86_64/compiler_commands.json - -extra-arg=--std=c++2b - --fix - - --header-filter=^(?/root/SimpleKernel/build_x86_64/src/).* + - --header-filter=^(/root/SimpleKernel/build_x86_64/src/).* # - --exclude-header-filter=^(?/root/SimpleKernel/build_x86_64/src/arch/x86_64|/root/SimpleKernel/build_x86_64/src/arch/aarch64).* # - id: clang-tidy # args: diff --git a/tools/.pre-commit-config.yaml.in b/tools/.pre-commit-config.yaml.in index 5d130938..30d7ed5c 100644 --- a/tools/.pre-commit-config.yaml.in +++ b/tools/.pre-commit-config.yaml.in @@ -28,7 +28,7 @@ repos: - -p=@CMAKE_BINARY_DIR@/build_x86_64/compiler_commands.json - -extra-arg=--std=c++2b - --fix - - --header-filter=^(?@CMAKE_BINARY_DIR@/src/).* + - --header-filter=^(@CMAKE_BINARY_DIR@/src/).* # - --exclude-header-filter=^(?@CMAKE_BINARY_DIR@/src/arch/x86_64|@CMAKE_BINARY_DIR@/src/arch/aarch64).* # - id: clang-tidy # args: