code: def process_documentation_files():
      extra_type_dict = get_extra_types_dict(
          get_extras_from_pyproject_toml()
      )
      for file, file_format in FILES_TO_UPDATE:
          if not file.exists():
              raise Exception(f"File {file} does not exist")
          for extra_type in ExtraType:
              header, footer = get_header_and_footer(
                  extra_type, file_format
              )
              insert_documentation(
                  file, extra_type_dict[extra_type][1], header, footer
              )
  
file_path: airflow/scripts/ci/pre_commit/pre_commit_insert_extras.py
imports: from __future__ import annotations
  import sys
  import textwrap
  from enum import Enum
  from pathlib import Path
  from common_precommit_utils import insert_documentation
label_desc: Use image node_id 5 for calling a global function with example usage: process_documentation_files() without return types