wpiformat/wpiformat/cpplint.py
def Error(filename, linenum, category, confidence, message):
  """Logs the fact we've found a lint error.

  We log where the error was found, and also our confidence in the error,
  that is, how certain we are this is a legitimate style regression, and
  not a misidentification or a use that's sometimes justified.

  False positives can be suppressed by the use of
  "cpplint(category)"  comments on the offending line.  These are
  parsed into _error_suppressions.

  Args:
    filename: The name of the file containing the error.
    linenum: The number of the line containing the error.
    category: A string used to describe the "category" this bug
      falls under: "whitespace", say, or "runtime".  Categories
      may have a hierarchy separated by slashes: "whitespace/indent".
    confidence: A number from 1-5 representing a confidence score for
      the error, with 5 meaning that we are certain of the problem,
      and 1 meaning that it could be a legitimate construct.
    message: The error message.
  """
  if not IsErrorSuppressedByNolint(category, linenum):
    _cpplint_state.IncrementErrorCount(category)
    final_message = '%s:%s:  %s  [%s] [%d]\n' % (
        filename, linenum, message, category, confidence)
    sys.stderr.write(final_message)
Logs the fact we've found a lint error.

  We log where the error was found, and also our confidence in the error,
  that is, how certain we are this is a legitimate style regression, and
  not a misidentification or a use that's sometimes justified.

  False positives can be suppressed by the use of
  "cpplint(category)"  comments on the offending line.  These are
  parsed into _error_suppressions.

  Args:
    filename: The name of the file containing the error.
    linenum: The number of the line containing the error.
    category: A string used to describe the "category" this bug
      falls under: "whitespace", say, or "runtime".  Categories
      may have a hierarchy separated by slashes: "whitespace/indent".
    confidence: A number from 1-5 representing a confidence score for
      the error, with 5 meaning that we are certain of the problem,
      and 1 meaning that it could be a legitimate construct.
    message: The error message.
  
Logs the fact we've found a lint error.
We log where the error was found, and also our confidence in the error,
that is, how certain we are this is a legitimate style regression, and
not a misidentification or a use that's sometimes justified.

False positives can be suppressed by the use of
"cpplint(category)"  comments on the offending line.  These are
parsed into _error_suppressions.
Logs the fact we ' ve found a lint error . We log where the error was found and also our confidence in the error that is how certain we are this is a legitimate style regression and not a misidentification or a use that ' s sometimes justified . False positives can be suppressed by the use of " cpplint ( category ) " comments on the offending line . These are parsed into _error_suppressions .
def Error(filename, linenum, category, confidence, message):
  if not IsErrorSuppressedByNolint(category, linenum):
    _cpplint_state.IncrementErrorCount(category)
    final_message = '%s:%s:  %s  [%s] [%d]\n' % (
        filename, linenum, message, category, confidence)
    sys.stderr.write(final_message)
def Error ( filename , linenum , category , confidence , message ) : if not IsErrorSuppressedByNolint ( category , linenum ) : _cpplint_state . IncrementErrorCount ( category ) final_message = '%s:%s:  %s  [%s] [%d]\n' % ( filename , linenum , message , category , confidence ) sys . stderr . write ( final_message )
Logs the fact we've found a lint error.
Logs the fact we ' ve found a lint error .
"""Logs the fact we've found a lint error.

  We log where the error was found, and also our confidence in the error,
  that is, how certain we are this is a legitimate style regression, and
  not a misidentification or a use that's sometimes justified.

  False positives can be suppressed by the use of
  "cpplint(category)"  comments on the offending line.  These are
  parsed into _error_suppressions.

  Args:
    filename: The name of the file containing the error.
    linenum: The number of the line containing the error.
    category: A string used to describe the "category" this bug
      falls under: "whitespace", say, or "runtime".  Categories
      may have a hierarchy separated by slashes: "whitespace/indent".
    confidence: A number from 1-5 representing a confidence score for
      the error, with 5 meaning that we are certain of the problem,
      and 1 meaning that it could be a legitimate construct.
    message: The error message.
  """
filename
The name of the file containing the error.
The name of the file containing the error .
linenum
The number of the line containing the error.
The number of the line containing the error .
category
A string used to describe the "category" this bug
falls under: "whitespace", say, or "runtime".  Categories
may have a hierarchy separated by slashes: "whitespace/indent".
A string used to describe the " category " this bug falls under : " whitespace " say or " runtime " . Categories may have a hierarchy separated by slashes : " whitespace / indent " .
confidence
A number from 1-5 representing a confidence score for
the error, with 5 meaning that we are certain of the problem,
and 1 meaning that it could be a legitimate construct.
A number from 1 - 5 representing a confidence score for the error with 5 meaning that we are certain of the problem and 1 meaning that it could be a legitimate construct .
message
The error message.
The error message .