Skip to content

Commit 2eddc56

Browse files
committed
Misc
1 parent 8634368 commit 2eddc56

File tree

4 files changed

+11
-4
lines changed

4 files changed

+11
-4
lines changed

DEV.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@ These are notes to myself for things to review before decommissioning EoL versio
1616

1717
**Python 3.8:**
1818

19-
- Becomes EoL in 2024-10.
19+
- EoL as of 2024-10-07.
20+
21+
**Python 3.9:**
22+
23+
- Becomes EoL in 2025-10.
2024

2125
References:
2226

pathspec/patterns/gitwildmatch.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@ def pattern_to_regex(
7474
else:
7575
pattern = pattern.strip()
7676

77+
regex: Optional[str]
78+
include: Optional[bool]
79+
7780
if pattern.startswith('#'):
7881
# A pattern starting with a hash ('#') serves as a comment (neither
7982
# includes nor excludes files). Escape the hash with a back-slash to match
@@ -100,7 +103,7 @@ def pattern_to_regex(
100103

101104
# Allow a regex override for edge cases that cannot be handled through
102105
# normalization.
103-
override_regex = None
106+
override_regex: Optional[str] = None
104107

105108
# Split pattern into segments.
106109
pattern_segs = pattern.split('/')

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ classifiers = [
1818
"Programming Language :: Python :: 3.10",
1919
"Programming Language :: Python :: 3.11",
2020
"Programming Language :: Python :: 3.12",
21+
"Programming Language :: Python :: 3.13",
2122
"Programming Language :: Python :: Implementation :: CPython",
2223
"Programming Language :: Python :: Implementation :: PyPy",
2324
"Topic :: Software Development :: Libraries :: Python Modules",
@@ -35,7 +36,6 @@ requires-python = ">=3.8"
3536
"Documentation" = "https://python-path-specification.readthedocs.io/en/latest/index.html"
3637
"Issue Tracker" = "https://github.com/cpburnz/python-pathspec/issues"
3738

38-
3939
[tool.flit.sdist]
4040
include = [
4141
"*.cfg",

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
envlist =
3-
py{38, 39, 310, 311, 312}
3+
py{38, 39, 310, 311, 312, 313}
44
pypy3
55
docs
66
isolated_build = True

0 commit comments

Comments
 (0)