docs: def _suppressed(self, filename, line, code):
          """Return true if linter error code is suppressed inline.
  
          The suppression format is suppress(CODE1,CODE2,CODE3) etc.
          """
          if code in self.suppress_codes:
              return True
  
          lines = self._file_lines(filename)
  
          # File is zero length, cannot be suppressed
          if not lines:
              return False
  
          # Handle errors which appear after the end of the document.
          while line > len(lines):
              line = line - 1
  
          relevant_line = lines[line - 1]
  
          try:
              suppressions_function = relevant_line.split("#")[1].strip()
              if suppressions_function.startswith("suppress("):
                  return code in _parse_suppressions(suppressions_function)
          except IndexError:
              above_line = lines[max(0, line - 2)]
              suppressions_function = above_line.strip()[1:].strip()
              if suppressions_function.startswith("suppress("):
                  return code in _parse_suppressions(suppressions_function)
          finally:
              pass