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.1
Release Notes
cpburnz/python-pathspec (pathspec)
v0.12.1
Compare 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.0
Compare 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) -> bool
todef _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.CheckResult
objects (e.g.,CheckResult.index
indicates the index of the last pattern that matched the file).pathspec.pattern.RegexPattern.pattern
attribute 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.2
Compare Source
New features:
Issue #​80
_: match_files with negated path spec.pathspec.PathSpec.match_*()
now have anegate
parameter 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.