Revisions of python-pathspec
- update to 0.12.1: * `Issue #84`_: PathSpec.match_file() returns None since 0.12.0. * Major changes: * Dropped support of EOL Python 3.7. See `Pull #82`_. * API changes: * Signature of protected method `pathspec.pathspec.PathSpec._match_file()` (with a leading underscore) has been changed from `def _match_file(patterns: Iterable[Pattern], file: str) -> bool` to `def _match_file(patterns: Iterable[Tuple[int, Pattern]], file: str) -> Tuple[Optional[bool], Optional[int]]`. * Added `pathspec.pathspec.PathSpec.check_*()` methods. These methods behave similarly to `.match_*()` but return additional information in the `pathspec.util.CheckResult` objects (e.g., `CheckResult.index` indicates the index of the last pattern that matched the file). * Added `pathspec.pattern.RegexPattern.pattern` attribute which stores the original, uncompiled pattern. * Mark Python 3.12 as supported. * Improve test debugging. * Improve type hint on *on_error* parameter on `pathspec.pathspec.PathSpec.match_tree_entries()`. * Improve type hint on *on_error* parameter on `pathspec.util.iter_tree_entries()`.
- update to 0.11.2: * `Issue #80`_: match_files with negated path spec. `pathspec.PathSpec.match_*()` now have a `negate` parameter to make using *.gitignore* logic easier and more efficient. * Add edge case: patterns that end with an escaped space * Negate with caret symbol as with the exclamation mark. - Update to version 0.10.3 - Update to version 0.10.2: * `Issue #43`_: Add support for addition operator
- update to 0.11.1: * `Issue #74`_: Include directory should override exclude file. * `Pull #75`_: Fix partially unknown PathLike type. * Convert `os.PathLike` to a string properly using `os.fspath`. * Major changes: * Changed build backend to `flit_core.buildapi`_ from `setuptools.build_meta`_. Building with `setuptools` through `setup.py` is still supported for distributions that need it. * `Issue #72`_/`Pull #73`_: Please consider switching the build-system to flit_core to ease setuptools bootstrap.
- update to 0.9.0: * Raise `GitWildMatchPatternError` for invalid git patterns. * Fix for duplicate leading double-asterisk, and edge cases. * Fix matching absolute paths. * API change: `util.normalize_files()` now returns a `Dict[str, List[pathlike]]` instead of a `Dict[str, pathlike]`. * Added type hinting.
- update to 0.8.1: * `Issue #43`_: Add support for addition operator
- Update to 0.6.0: * Issue #24: Drop support for Python 2.6, 3.2, and 3.3. * Issue #25: Update README.rst. * Issue #26: Method to escape gitwildmatch.
Remove superfluous devel dependency for noarch package
Utility library for gitignore style pattern matching of file paths
Displaying all 16 revisions