Browse Source

tools: reduce verbosity of cpplint

Every time `make test` is run, the cpplint prints the file it
successfully linted. None of the other linters in the project does
that. This patch simply removes the "Done processing" message from the
cpplint.

PR-URL: https://github.com/nodejs/node/pull/5578
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
v5.x
Sakthipriyan Vairamani 9 years ago
committed by Jeremiah Senkpiel
parent
commit
048c0f4738
  1. 3
      tools/cpplint.py

3
tools/cpplint.py

@ -3025,9 +3025,6 @@ def ProcessFile(filename, vlevel):
'One or more unexpected \\r (^M) found;' 'One or more unexpected \\r (^M) found;'
'better to use only a \\n') 'better to use only a \\n')
if not _cpplint_state.output_format == 'tap':
sys.stderr.write('Done processing %s\n' % filename)
def PrintUsage(message): def PrintUsage(message):
"""Prints a brief usage string and exits, optionally with an error message. """Prints a brief usage string and exits, optionally with an error message.

Loading…
Cancel
Save