Skip to content

Commit f5c65d0

Browse files
RafaelGSStargos
authored andcommitted
tools: add readability/fn_size to filter
PR-URL: #54744 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent f7af8ca commit f5c65d0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tools/cpplint.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,10 @@
397397
# flag. By default all errors are on, so only add here categories that should be
398398
# off by default (i.e., categories that must be enabled by the --filter= flags).
399399
# All entries here should start with a '-' or '+', as in the --filter= flag.
400-
_DEFAULT_FILTERS = ['-build/include_alpha']
400+
_DEFAULT_FILTERS = [
401+
'-build/include_alpha',
402+
'-readability/fn_size',
403+
]
401404

402405
# The default list of categories suppressed for C (not C++) files.
403406
_DEFAULT_C_SUPPRESSED_CATEGORIES = [

0 commit comments

Comments
 (0)