From 84c8e995840675e83cf80f60106f8d176af5a817 Mon Sep 17 00:00:00 2001 From: Sergei Shirokov Date: Fri, 16 Aug 2024 15:03:14 +0300 Subject: [PATCH] disable some clang-tidies --- .clang-tidy | 4 ++++ tests/.clang-tidy | 3 +++ 2 files changed, 7 insertions(+) diff --git a/.clang-tidy b/.clang-tidy index c711162..7ef0535 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -22,6 +22,10 @@ Checks: >- -hicpp-static-assert, -misc-static-assert, -modernize-macro-to-enum, + -cppcoreguidelines-macro-to-enum,-warnings-as-errors, + -bugprone-casting-through-void, + -misc-include-cleaner, + -cppcoreguidelines-avoid-do-while, CheckOptions: - key: readability-function-cognitive-complexity.Threshold value: '99' diff --git a/tests/.clang-tidy b/tests/.clang-tidy index 8a46f65..1e318f0 100644 --- a/tests/.clang-tidy +++ b/tests/.clang-tidy @@ -41,6 +41,9 @@ Checks: >- -modernize-macro-to-enum, -modernize-use-trailing-return-type, -cppcoreguidelines-owning-memory, + -misc-include-cleaner, + -performance-avoid-endl, + -cppcoreguidelines-avoid-do-while, WarningsAsErrors: '*' HeaderFilterRegex: '.*\.hpp' FormatStyle: file