The pathspec library (version 1.0.0+) has deprecated the gitwildmatch pattern name hence running the load_gitignore functions triggers Deprecation Warning. Suggest changing the return statement to:
return pathspec.PathSpec.from_lines("gitignore", lines)
The
pathspeclibrary (version 1.0.0+) has deprecated thegitwildmatchpattern name hence running theload_gitignorefunctions triggers Deprecation Warning. Suggest changing the return statement to: