From e9004207e0120d41c9dd7f3f59358300f8f14c18 Mon Sep 17 00:00:00 2001 From: wfy18 Date: Thu, 1 Oct 2026 11:10:02 +0800 Subject: [PATCH] ci: test on Python 3.15 and declare it as a supported version --- .github/workflows/test.yml | 2 +- AGENTS.md | 2 +- pyproject.toml | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 782ca12..60a7734 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,7 +14,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macos-latest] - python-version: ["3.14", "3.13", "3.12", "3.11", "3.10"] + python-version: ["3.15", "3.14", "3.13", "3.12", "3.11", "3.10"] steps: - name: Checkout uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 diff --git a/AGENTS.md b/AGENTS.md index c737811..fd7ff2d 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -11,7 +11,7 @@ ## Project in a Nutshell -A pre-commit hook repo that auto-installs and runs `clang-format` and `clang-tidy` from Python wheels. Supports Python 3.10+ (tested 3.9–3.14) on Windows, Linux, macOS. +A pre-commit hook repo that auto-installs and runs `clang-format` and `clang-tidy` from Python wheels. Supports Python 3.10+ (tested 3.10–3.15) on Windows, Linux, macOS. **Entry points** (defined in `pyproject.toml`): - `clang-format-hook` → `cpp_linter_hooks/clang_format.py:main` diff --git a/pyproject.toml b/pyproject.toml index 8db406c..c6d05ae 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,6 +27,7 @@ classifiers = [ "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14", + "Programming Language :: Python :: 3.15", "Topic :: Software Development :: Build Tools", ] dependencies = [