From: Joel Rosdahl Date: Sun, 27 Mar 2022 10:57:24 +0000 (+0200) Subject: chore: Disable some clang-tidy checks that don’t contribute much X-Git-Tag: v4.6.1~47 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b3c5f17de5af6b5f0520295d96eb21c6ebe5a60;p=thirdparty%2Fccache.git chore: Disable some clang-tidy checks that don’t contribute much --- diff --git a/src/third_party/.clang-tidy b/src/third_party/.clang-tidy index d2f78e17f..f29196582 100644 --- a/src/third_party/.clang-tidy +++ b/src/third_party/.clang-tidy @@ -2,8 +2,7 @@ # config file... So just pick a fast check that will never fail. --- Checks: '-*,readability-function-size' -CheckOptions: +CheckOptions: - key: readability-function-size.LineThreshold value: 99999999 ... - diff --git a/unittest/.clang-tidy b/unittest/.clang-tidy index d311fb572..06d78c329 100644 --- a/unittest/.clang-tidy +++ b/unittest/.clang-tidy @@ -8,11 +8,9 @@ CheckOptions: - key: readability-braces-around-statements.ShortStatementLines value: 0 - # If you hit the limits, please change the code and not the limits!! - # Note: some limits "disabled" due to TEST_SUITE macro. - # The macro generates hundreds of statements, branches and variables. + # If you hit a limit, please consider changing the code instead of the limit. - key: readability-function-size.LineThreshold - value: 130 + value: 999999 - key: readability-function-size.StatementThreshold value: 999999 - key: readability-function-size.ParameterThreshold