Pathspec

Latest version: v0.12.1

Safety actively analyzes 682387 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 7

0.5.0

------------------

- `Issue 12`_: Add `PathSpec.match_file()`.
- Renamed `gitignore.GitIgnorePattern` to `patterns.gitwildmatch.GitWildMatchPattern`.
- Deprecated `gitignore.GitIgnorePattern`.

.. _`Issue 12`: https://github.com/cpburnz/python-pathspec/issues/12

0.4.0

------------------

- `Issue 11`_: Support converting patterns into regular expressions without compiling them.
- API change: Subclasses of `RegexPattern` should implement `pattern_to_regex()`.

.. _`Issue 11`: https://github.com/cpburnz/python-pathspec/issues/11

0.3.4

------------------

- `Pull 7`_: Fixed non-recursive links.
- `Pull 8`_: Fixed edge cases in gitignore patterns.
- `Pull 9`_: Fixed minor usage documentation.
- Fixed recursion detection.
- Fixed trivial incompatibility with Python 3.2.

.. _`Pull 7`: https://github.com/cpburnz/python-pathspec/pull/7
.. _`Pull 8`: https://github.com/cpburnz/python-pathspec/pull/8
.. _`Pull 9`: https://github.com/cpburnz/python-pathspec/pull/9

0.3.3

------------------

- Improved documentation.

0.3.2

------------------

- `Pull 5`_: Use tox for testing.
- `Issue 6`_: Fixed matching Windows paths.
- Improved documentation.
- API change: `spec.match_tree()` and `spec.match_files()` now return iterators instead of sets.

.. _`Pull 5`: https://github.com/cpburnz/python-pathspec/pull/5
.. _`Issue 6`: https://github.com/cpburnz/python-pathspec/issues/6

0.3.1

------------------

- Updated README.

Page 5 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.