code: def format_signature(
      signature_start: str,
      signature_end: str,
      max_line_length: int = 110,
  ):
      """pretty formatting to avoid long signatures on one single line"""
  
      # first, we make it look like a real function declaration.
      fake_signature_start = "x" * len(signature_start)
      fake_signature = fake_signature_start + signature_end
      fake_python_code = f"def {fake_signature}:\n    pass\n"
  
      # we format with black
      mode = black.FileMode(line_length=max_line_length)
      formatted_fake_python_code = black.format_str(
          fake_python_code, mode=mode
      )
  
      # we make the final, multiline signature
      new_signature_end = extract_signature_end(
          formatted_fake_python_code
      )
      return signature_start + new_signature_end
  
file_path: autokeras/docs/keras_autodoc/get_signatures.py
imports: import inspect
  import warnings
  import black
  from sphinx.util.inspect import signature
  from sphinx.util.inspect import stringify_signature
  from .None import utils
label_desc: Use image node_id 6 for calling a global function with example usage: format_signature(signature_start, signature_end, max_line_length) and returns: unknown