From ec0be696af9484a0f5b8c0c45c79d4d256242fc5 Mon Sep 17 00:00:00 2001 From: RafaelGSS Date: Sat, 7 Sep 2024 10:48:59 -0300 Subject: [PATCH] tools: add readability/fn_size to filter --- tools/cpplint.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/cpplint.py b/tools/cpplint.py index 832e9c54567ee9..5d6172d5a4e8b1 100755 --- a/tools/cpplint.py +++ b/tools/cpplint.py @@ -397,7 +397,10 @@ # flag. By default all errors are on, so only add here categories that should be # off by default (i.e., categories that must be enabled by the --filter= flags). # All entries here should start with a '-' or '+', as in the --filter= flag. -_DEFAULT_FILTERS = ['-build/include_alpha'] +_DEFAULT_FILTERS = [ + '-build/include_alpha', + '-readability/fn_size', + ] # The default list of categories suppressed for C (not C++) files. _DEFAULT_C_SUPPRESSED_CATEGORIES = [