Skip to content

Commit 00a2b5a

Browse files
committed
tools: remove readability/fn_size error throw
Follow up #54663
1 parent 9e5d2b7 commit 00a2b5a

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

tools/cpplint.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1585,11 +1585,6 @@ def Check(self, error, filename, linenum):
15851585
# 50 => 0, 100 => 1, 200 => 2, 400 => 3, 800 => 4, 1600 => 5, ...
15861586
if error_level > 5:
15871587
error_level = 5
1588-
error(filename, linenum, 'readability/fn_size', error_level,
1589-
'Small and focused functions are preferred:'
1590-
' %s has %d non-comment lines'
1591-
' (error triggered by exceeding %d lines).' % (
1592-
self.current_function, self.lines_in_function, trigger))
15931588

15941589
def End(self):
15951590
"""Stop analyzing function body."""

0 commit comments

Comments
 (0)