code: def install_hooks():
      dir_scripts = os.path.abspath(os.path.dirname(__file__))
      script_files = [
          "install_hooks.bash",
          "pre_commit.bash",
          "pre_push.bash",
      ]
      for script_f in script_files:
          file = os.path.join(dir_scripts, script_f)
          subprocess.check_call(["chmod", "a+rwx", file])
      subprocess.call(
          os.path.join(dir_scripts, "install_hooks.bash"), shell=True
      )
  
label_desc: Use image node_id 1 for calling a global function with example usage: install_hooks() without return types