From ea0ab6c31235a67afae5ce6287f35ac2da03d641 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 19 Oct 2026 21:22:37 +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.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.16.8...v0.17.1) - [github.com/astral-sh/uv-pre-commit: 0.12.17 → 0.13.1](https://github.com/astral-sh/uv-pre-commit/compare/0.12.17...0.13.1) --- .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..5c532fb5 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.1 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.1 hooks: - id: uv-lock From 028ca237e1900d3cb964e91dbf3e54d06ea239f8 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 19 Oct 2026 21:22:49 +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)