code: def test_files_generated_by_templates_are_git_ignored():
      """Check the consistence of the files generated from template files."""
      gitignore_file = (
          pathlib.Path(sklearn.__file__).parent.parent / ".gitignore"
      )
      if not gitignore_file.exists():
          pytest.skip("Tests are not run from the source folder")
  
      base_dir = pathlib.Path(sklearn.__file__).parent
      ignored_files = gitignore_file.read_text().split("\n")
      ignored_files = [pathlib.Path(line) for line in ignored_files]
  
      for filename in base_dir.glob("**/*.tp"):
          filename = filename.relative_to(base_dir.parent)
          # From "path/to/template.p??.tp" to "path/to/template.p??"
          filename_wo_tempita_suffix = filename.with_suffix("")
          assert filename_wo_tempita_suffix in ignored_files
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_files_generated_by_templates_are_git_ignored() without return types