code: def format_results(results: List[CheckResult], root_path):
      rel_import_count = sum(
          len(res.absolute_imports) for res in results
      )
      if rel_import_count > 0:
          print(
              f"Do not use absolute imports for mars module in "
              f"code ({rel_import_count}):",
              file=sys.stderr,
          )
          for res in results:
              if not res.absolute_imports:
                  continue
              rel_path = os.path.relpath(res.path, root_path)
              print("  " + rel_path, file=sys.stderr)
              for lineno, end_lineno in res.absolute_imports:
                  print(
                      f"    Line {lineno}-{end_lineno}", file=sys.stderr
                  )
                  print(
                      _extract_line_block(
                          res.lines, lineno, end_lineno, "      "
                      ),
                      file=sys.stderr,
                  )
  
file_path: mars/ci/importcheck.py
imports: import ast
  import os
  import sys
  import textwrap
  from pathlib import PurePath
  from typing import List, NamedTuple, Optional, Tuple
label_desc: Use image node_id 4 for calling a global function with example usage: format_results(results, root_path) without return types