code: def main():
      if "GITHUB_ACTIONS" in os.environ:
          with subprocess.Popen(
              [
                  *BLACK,
                  *sys.argv[1:],
              ],
              stdout=subprocess.PIPE,
              stderr=subprocess.PIPE,
              text=True,
          ) as prc:
              stdout, stderr = prc.communicate()
              is_maintainer = (
                  os.environ.get("IS_MAINTAINER", "false").lower()
                  == "true"
              )
              sys.stdout.write(stdout)
              sys.stderr.write(transform(stderr, is_maintainer))
              sys.exit(prc.returncode)
      else:
          with subprocess.Popen(
              [
                  *BLACK,
                  *sys.argv[1:],
              ]
          ) as prc:
              prc.communicate()
              sys.exit(prc.returncode)
  
imports: import os
  import re
  import subprocess
  import sys
label_desc: Use image node_id 2 for calling a global function with example usage: main() without return types