From 69f90ec4f27b0be9683cf20aa114b5c15f841eb1 Mon Sep 17 00:00:00 2001 From: Adam Dangoor Date: Tue, 25 Aug 2026 07:07:44 +0100 Subject: [PATCH 1/2] Bump mypy-strict-kwargs to 2026.8.25 2026.8.20.1 lost the value type behind ``SomeEnum.value`` and reported decorators such as ``@beartype`` as positional calls. Both are fixed in 2026.8.25, so the ``ignore_names`` opt-outs added for them are no longer needed. Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_01CACFJDTrtojHAEbXRGoxAg --- pyproject.toml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index e46de5b0..2ddcf91e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -44,7 +44,7 @@ optional-dependencies.dev = [ "hypothesis==6.165.10", "interrogate==1.7.0", "mypy[faster-cache]==2.3.1", - "mypy-strict-kwargs==2026.8.20.1", + "mypy-strict-kwargs==2026.8.25", "no-defaults==2.1.0", "prek==0.4.14", "pydocstringformatter==1.0.0", @@ -423,12 +423,6 @@ type = [ { directory = "change", name = "", showcontent = true }, ] -[tool.mypy_strict_kwargs] -ignore_names = [ - # Decorators applied positionally (mypy-strict-kwargs 2026.8+) - "beartype._decor.decorcache.beartype", -] - [tool.pydocstringformatter] write = true split-summary-body = false From 74ce817cd39dda14eee5ab9f2ad2e0ed2fee168b Mon Sep 17 00:00:00 2001 From: Adam Dangoor Date: Tue, 25 Aug 2026 07:58:03 +0100 Subject: [PATCH 2/2] Bump to mypy-strict-kwargs 2026.8.25.1 2026.8.25.1 also stops reporting a positional argument which lands in a ``*args`` parameter, such as ``print("hello")``. Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_01CACFJDTrtojHAEbXRGoxAg --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 2ddcf91e..9bca8e88 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -44,7 +44,7 @@ optional-dependencies.dev = [ "hypothesis==6.165.10", "interrogate==1.7.0", "mypy[faster-cache]==2.3.1", - "mypy-strict-kwargs==2026.8.25", + "mypy-strict-kwargs==2026.8.25.1", "no-defaults==2.1.0", "prek==0.4.14", "pydocstringformatter==1.0.0",