chore(deps): update dependency pathspec to v0.12.1 #3644
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==0.11.1->==0.12.1Release Notes
cpburnz/python-pathspec (pathspec)
v0.12.1Compare Source
Bug fixes:
Issue #​84_: PathSpec.match_file() returns None since 0.12.0... _
Issue #​84: https://github.com/cpburnz/python-pathspec/issues/84v0.12.0Compare Source
Major changes:
Pull #​82_.API changes:
pathspec.pathspec.PathSpec._match_file()(with a leading underscore) has been changed fromdef _match_file(patterns: Iterable[Pattern], file: str) -> booltodef _match_file(patterns: Iterable[Tuple[int, Pattern]], file: str) -> Tuple[Optional[bool], Optional[int]].New features:
pathspec.pathspec.PathSpec.check_*()methods. These methods behave similarly to.match_*()but return additional information in thepathspec.util.CheckResultobjects (e.g.,CheckResult.indexindicates the index of the last pattern that matched the file).pathspec.pattern.RegexPattern.patternattribute which stores the original, uncompiled pattern.Bug fixes:
Issue #​81_: GitIgnoreSpec behaviors differ from git.Pull #​83_: Fix ReadTheDocs builds.Improvements:
Pull #​82_.pathspec.pathspec.PathSpec.match_tree_entries().pathspec.util.iter_tree_entries()... _
Issue #​81: https://github.com/cpburnz/python-pathspec/issues/81.. _
Pull #​82: https://github.com/cpburnz/python-pathspec/pull/82.. _
Pull #​83: https://github.com/cpburnz/python-pathspec/pull/83v0.11.2Compare Source
New features:
Issue #​80_: match_files with negated path spec.pathspec.PathSpec.match_*()now have anegateparameter to make using .gitignore logic easier and more efficient.Bug fixes:
Pull #​76_: Add edge case: patterns that end with an escaped spaceIssue #​77/Pull #​78: Negate with caret symbol as with the exclamation mark... _
Pull #​76: https://github.com/cpburnz/python-pathspec/pull/76.. _
Issue #​77: https://github.com/cpburnz/python-pathspec/issues/77.. _
Pull #​78: https://github.com/cpburnz/python-pathspec/pull/78/.. _
Issue #​80: https://github.com/cpburnz/python-pathspec/issues/80Configuration
📅 Schedule: Branch creation - "before 4am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.