From 1463e0417a11bb97017662d7e4adf2abac846d19 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Mon, 15 May 2023 10:57:53 +0200 Subject: [PATCH] clang-tidy: Increase the cognitive complexity threshold to 75 The current level of 50 is too low for a function like 'handleQueuedHealthChecks' which is quite simple. --- .clang-tidy.full | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.clang-tidy.full b/.clang-tidy.full index 3d678e379e..db601de548 100644 --- a/.clang-tidy.full +++ b/.clang-tidy.full @@ -405,7 +405,7 @@ CheckOptions: - key: modernize-use-noexcept.UseNoexceptFalse value: 'true' - key: readability-function-cognitive-complexity.Threshold - value: '50' + value: '75' - key: cppcoreguidelines-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic value: 'true' - key: bugprone-argument-comment.IgnoreSingleArgument -- 2.47.2