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'