From 718774833f44f241609db5fd4f6c0c82f482aadb Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 25 Apr 2026 19:46:45 +0000 Subject: [PATCH] Bump version to 26.4.1 Convert the Unreleased changelog section to 26.4.1 and update __version__ and the pre-commit rev example so that merging this triggers the release workflow on push to main. --- docs/changelog.rst | 4 ++-- docs/usage.rst | 2 +- flake8_async/__init__.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index a95b1fd..79fa885 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -4,8 +4,8 @@ Changelog `CalVer, YY.month.patch `_ -Unreleased -========== +26.4.1 +====== - Rules resolve function/class references via the canonical qualname, so checks fire regardless of import style (``import trio``, ``import trio as t``, ``from trio import open_nursery [as on]``, …). Only module-level imports are tracked. `(issue #132) `_ - :ref:`ASYNC106 ` is now disabled by default; re-enable it to enforce the ``import trio`` style. - Autofix for :ref:`ASYNC910 ` / :ref:`ASYNC911 ` no longer inserts checkpoints inside ``except`` clauses (which would trigger :ref:`ASYNC120 `); instead the checkpoint is added at the top of the function or of the enclosing loop. `(issue #403) `_ diff --git a/docs/usage.rst b/docs/usage.rst index 3029dcb..dbad5ea 100644 --- a/docs/usage.rst +++ b/docs/usage.rst @@ -33,7 +33,7 @@ adding the following to your ``.pre-commit-config.yaml``: minimum_pre_commit_version: '2.9.0' repos: - repo: https://github.com/python-trio/flake8-async - rev: 25.7.1 + rev: 26.4.1 hooks: - id: flake8-async # args: ["--enable=ASYNC100,ASYNC112", "--disable=", "--autofix=ASYNC"] diff --git a/flake8_async/__init__.py b/flake8_async/__init__.py index 5a2dbb8..26722f8 100644 --- a/flake8_async/__init__.py +++ b/flake8_async/__init__.py @@ -38,7 +38,7 @@ # CalVer: YY.month.patch, e.g. first release of July 2022 == "22.7.1" -__version__ = "25.7.1" +__version__ = "26.4.1" # taken from https://github.com/Zac-HD/shed