code: def run_format_and_flake8():
      try:
          _run_format_and_flake8()
      except CalledProcessError as error:
          print("Pre-commit returned exit code", error.returncode)
          exit(error.returncode)
  
imports: from subprocess import check_call, CalledProcessError
label_desc: Use image node_id 3 for calling a global function with example usage: run_format_and_flake8() without return types