Skip to content

Commit f5faf71

Browse files
authored
Merge pull request #5 from hugovk/update-url
2 parents c3666c7 + 86181e1 commit f5faf71

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

pre_commit_python_eol/bump_cache.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@
1717
f"{platform.python_implementation()}/{platform.python_version()}"
1818
)
1919

20-
CACHE_SOURCE = (
21-
"https://raw.githubusercontent.com/python/devguide/refs/heads/main/include/release-cycle.json"
22-
)
20+
CACHE_SOURCE = "https://peps.python.org/api/release-cycle.json"
2321
LOCAL_CACHE = Path("./cached_release_cycle.json")
2422

2523

pre_commit_python_eol/check_eol.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ def from_json(cls, ver: str, metadata: dict[str, t.Any]) -> PythonRelease:
7272
"""
7373
Create a `PythonRelease` instance from the provided JSON components.
7474
75-
JSON components are assumed to be of the format provided by the Python Devguide:
76-
https://github.com/python/devguide/blob/main/include/release-cycle.json
75+
JSON components are assumed to be of the format provided by the Python PEPs API:
76+
https://peps.python.org/api/release-cycle.json
7777
"""
7878
return cls(
7979
python_ver=version.Version(ver),

0 commit comments

Comments
 (0)