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: