code: def ensure_clean_git() -> None:
      """Makes sure the current working git copy is clean."""
  
      try:
          check_call(["git", "diff-index", "--quiet", "HEAD", "--"])
      except CalledProcessError:
          print(
              "Your git is not clean. Release script can only be run from a clean git."
          )
          sys.exit(1)
  
imports: import argparse
  import os
  import re
  import sys
  from pathlib import Path
  from subprocess import CalledProcessError, check_call, check_output
  from typing import Text, Set
  import questionary
  import toml
  from pep440_version_utils import Version, is_valid_version
label_desc: Use image node_id 18 for calling a global function with example usage: ensure_clean_git() without return types