Skip to content

Commit 4b623ea

Browse files
committed
Misc
1 parent 114589a commit 4b623ea

5 files changed

Lines changed: 17 additions & 8 deletions

File tree

CHANGES.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,13 @@ Major changes:
99

1010
- TODO `Issue #116`_: Change license from MPL-2.0 to dual MIT and MPL-2.0.
1111

12+
Bug fixes:
13+
14+
- `Pull #123`_: Ignore invalid gitignore bracket ranges for `GitIgnoreSpec`.
15+
1216

1317
.. _`Issue #116`: https://github.com/cpburnz/python-pathspec/issues/116
18+
.. _`Pull #123`: https://github.com/cpburnz/python-pathspec/pull/123
1419

1520

1621
1.1.1 (2026-04-26)

CHANGES_1.in.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,13 @@ Major changes:
66

77
- TODO `Issue #116`_: Change license from MPL-2.0 to dual MIT and MPL-2.0.
88

9+
Bug fixes:
10+
11+
- `Pull #123`_: Ignore invalid gitignore bracket ranges for `GitIgnoreSpec`.
12+
913

1014
.. _`Issue #116`: https://github.com/cpburnz/python-pathspec/issues/116
15+
.. _`Pull #123`: https://github.com/cpburnz/python-pathspec/pull/123
1116

1217

1318
1.1.1 (2026-04-26)

README-dist.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,8 +234,13 @@ Major changes:
234234

235235
- TODO `Issue #116`_: Change license from MPL-2.0 to dual MIT and MPL-2.0.
236236

237+
Bug fixes:
238+
239+
- `Pull #123`_: Ignore invalid gitignore bracket ranges for `GitIgnoreSpec`.
240+
237241

238242
.. _`Issue #116`: https://github.com/cpburnz/python-pathspec/issues/116
243+
.. _`Pull #123`: https://github.com/cpburnz/python-pathspec/pull/123
239244

240245

241246
1.1.1 (2026-04-26)

pathspec/_meta.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,6 @@
6666
"Kadir Can Ozden <https://github.com/bysiber>",
6767
"Henry Schreiner <https://github.com/henryiii>",
6868
"Yilei <https://github.com/yilei>",
69+
"Guillermo Garcia <https://github.com/Gares95>",
6970
]
7071
__license__ = "MPL 2.0"

tests/test_04_gitignore_spec.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -936,16 +936,9 @@ def test_15_issue_93_c_2_invalid(self):
936936
for raw_pattern in [
937937
'[!]',
938938
'[^]',
939+
'[z-a]',
939940
'a[!]',
940941
'a[^]',
941-
]:
942-
with self.subTest(f"p={raw_pattern!r}"):
943-
pattern = GitIgnoreSpecPattern(raw_pattern)
944-
self.assertIs(pattern.include, None)
945-
self.assertIs(pattern.regex, None)
946-
947-
for raw_pattern in [
948-
'[z-a]',
949942
'a[z-a]',
950943
]:
951944
with self.subTest(f"p={raw_pattern!r}"):

0 commit comments

Comments
 (0)