code: def get_python_filenames() -> List[str]:
      return (
          subprocess.check_output(
              # `git ls-files` returns list of file names tracked by git
              # `git ls-files --others --exclude-standard` returns list of files neither tracked nor ignored by git
              "(git ls-files; git ls-files --others --exclude-standard) | grep '.py$'",
              shell=True,
              universal_newlines=True,
          )
          .strip()
          .splitlines(keepends=False)
      )
  
imports: import dataclasses
  import re
  import subprocess
  from ast import Attribute, Call, Constant, Name, NodeVisitor, parse
  from pathlib import Path
  from typing import Any, Callable, Dict, List
  import pytest
label_desc: Use image node_id 2 for calling a global function with example usage: get_python_filenames() and returns: subprocess