Skip to content

gitwildmatch triggers Deprecation Warning #7

Description

@sha-huang

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions