From d17ce5cbc9aca81a6368e894e87a66bbfffb1967 Mon Sep 17 00:00:00 2001 From: tmadlener Date: Thu, 1 Feb 2024 14:52:49 +0100 Subject: [PATCH] Make clang-tidy pass clang-tidy seems to struggle with the "header-only" implementation otherwise and not be able to parse out necessary include directories from the compile_commands.json --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 61954a07f..00ca2cf97 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -11,7 +11,7 @@ repos: name: clang-tidy entry: clang-tidy -warnings-as-errors='*,-clang-diagnostic-deprecated-declarations' -p compile_commands.json types: [c++] - exclude: (tests/(datamodel|src)/.*(h|cc)|podioVersion.in.h) + exclude: (tests/(datamodel|src)/.*(h|cc)|podioVersion.in.h|SIOFrame.*h) language: system - id: clang-format name: clang-format