docs: def add_error(self, code, line, char, description):
          """
          Registers an error for this container with code on line at char.
          :param code: The PEP 8 error code
          :param line: The line number of the reported error
          :param char: Line location of first offending character
          :param description: The human readable description of the thrown error/warning
          """
  
          if code not in self.violations:
              self.violations[code] = 0
          self.violations[code] += 1
          self.lines.append((code, line, char, description))