parameters: (self, line_number, category, confidence, message)
return_statement: return True
docstring: Handle the occurrence of a style error.
  
          See the docstring of this module for more information.
docstring_summary: Handle the occurrence of a style error.
docstring_tokens: Handle the occurrence of a style error .
function: def __call__(self, line_number, category, confidence, message):
          """Handle the occurrence of a style error.
  
          See the docstring of this module for more information.
  
          """
          if not self.should_line_be_checked(line_number):
              return False
  
          if not self._configuration.is_reportable(category=category,
                                                   confidence_in_error=confidence,
                                                   file_path=self._file_path):
              return False
  
          category_total = self._add_reportable_error(category)
  
          max_reports = self._max_reports(category)
  
          if (max_reports is not None) and (category_total > max_reports):
              # Then suppress displaying the error.
              return False
  
          self._configuration.write_style_error(category=category,
                                                confidence_in_error=confidence,
                                                file_path=self._file_path,
                                                line_number=line_number,
                                                message=message)
          if category_total == max_reports:
              _log.error("Suppressing further [%s] reports "
                                               "for this file." % category)
          return True
function_tokens: def __call__ ( self , line_number , category , confidence , message ) : if not self . should_line_be_checked ( line_number ) : return False if not self . _configuration . is_reportable ( category = category , confidence_in_error = confidence , file_path = self . _file_path ) : return False category_total = self . _add_reportable_error ( category ) max_reports = self . _max_reports ( category ) if ( max_reports is not None ) and ( category_total > max_reports ) : # Then suppress displaying the error. return False self . _configuration . write_style_error ( category = category , confidence_in_error = confidence , file_path = self . _file_path , line_number = line_number , message = message ) if category_total == max_reports : _log . error ( "Suppressing further [%s] reports " "for this file." % category ) return True