From 7c254f95caf8b6aa7f770555e39889edcb13d65a Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 26 Oct 2026 21:10:25 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.16.8 → v0.17.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.16.8...v0.17.2) - [github.com/astral-sh/uv-pre-commit: 0.12.17 → 0.13.5](https://github.com/astral-sh/uv-pre-commit/compare/0.12.17...0.13.5) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 65accd70..36bbfd7f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,12 +1,12 @@ exclude: ^python/tests/__snapshots__/ repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.16.8 + rev: v0.17.2 hooks: - id: ruff-check args: [--fix] - id: ruff-format - repo: https://github.com/astral-sh/uv-pre-commit - rev: 0.12.17 + rev: 0.13.5 hooks: - id: uv-lock From 8f3d53d57e60a810ff420a982f6694202eae94ff Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 26 Oct 2026 21:10:37 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- modify_changelog.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modify_changelog.py b/modify_changelog.py index 7153ba2f..94790026 100644 --- a/modify_changelog.py +++ b/modify_changelog.py @@ -30,7 +30,7 @@ """ import argparse -import datetime +import datetime as dt import re import sys from pathlib import Path @@ -77,7 +77,7 @@ def find_unreleased_section(lines): def update_changelog_version(file_path: Path, new_version: str) -> None: """Update changelog for version bump - replaces UNRELEASED with versioned section.""" - today = datetime.datetime.now(tz=datetime.UTC).strftime("%Y-%m-%d") + today = dt.datetime.now(tz=dt.UTC).strftime("%Y-%m-%d") content = file_path.read_text() new_section = f"## UNRELEASED\n\n## {new_version} ({today})" content = content.replace("## UNRELEASED", new_section, 1)