code: def collect_errors(code: str) -> Iterator[WantedIssue]:
      for line_nr, line in enumerate(code.splitlines(), 1):
          match = re.match(r"(\s*)#: (.*)$", line)
          if match is not None:
              codes = match.group(2)
              for code in codes.split():
                  code, _, add_indent = code.partition(":")
                  column = int(add_indent or len(match.group(1)))
  
                  code, _, add_line = code.partition("+")
                  ln = line_nr + 1 + int(add_line or 0)
  
                  yield WantedIssue(code[1:], ln, column)
  
file_path: catboost/contrib/python/parso/py3/tests/test_normalizer_issues_files.py
imports: import difflib
  import re
  from functools import total_ordering
  from typing import Iterator, Tuple
  import parso
  from parso.utils import python_bytes_to_unicode
label_desc: Use image node_id 1 for calling a global function with example usage: collect_errors(code) without return types