From a6fa69d157a39fcd54f41c5b8c414cc124b01ecc Mon Sep 17 00:00:00 2001 From: Maciej Olko Date: Fri, 16 May 2025 22:47:59 +0200 Subject: [PATCH 1/2] Allow prerelease branch for 3.14 Ref #92. --- completion.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/completion.py b/completion.py index a420b498c..086b263bd 100644 --- a/completion.py +++ b/completion.py @@ -16,7 +16,7 @@ def branches_from_devguide(devguide_dir: Path) -> list[str]: p = devguide_dir.joinpath('include/release-cycle.json') data = json.loads(p.read_text()) return [ - branch for branch in data if data[branch]['status'] in ('bugfix', 'security') + branch for branch in data if data[branch]['status'] in ('bugfix', 'security', 'prerelease') ] From b7ddfae694979246afd267bf826f7f5c7a28df17 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 16 May 2025 20:48:49 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- completion.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/completion.py b/completion.py index 086b263bd..cb5c7ca9e 100644 --- a/completion.py +++ b/completion.py @@ -16,7 +16,9 @@ def branches_from_devguide(devguide_dir: Path) -> list[str]: p = devguide_dir.joinpath('include/release-cycle.json') data = json.loads(p.read_text()) return [ - branch for branch in data if data[branch]['status'] in ('bugfix', 'security', 'prerelease') + branch + for branch in data + if data[branch]['status'] in ('bugfix', 'security', 'prerelease') ]