From 34e5a90414075526a393c76d19fef9b6b9575eda Mon Sep 17 00:00:00 2001 From: Florian Dupuy Date: Thu, 25 Jul 2024 11:05:36 +0200 Subject: [PATCH] Try to fix clang-tidy cognitive-complexity Signed-off-by: Florian Dupuy --- .clang-tidy | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.clang-tidy b/.clang-tidy index cbb1e2f4..7b59f4cc 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -27,3 +27,7 @@ Checks: '-*, WarningsAsErrors: '*' HeaderFilterRegex: 'include/powsybl/.*|src/.*|extensions/.*|test/.*' + +CheckOptions: +- key: readability-function-cognitive-complexity.IgnoreMacros +- value: 'true'