From 7ff2e39b8ed02aea6efee28521471af802ffce20 Mon Sep 17 00:00:00 2001 From: Adam Dangoor Date: Tue, 25 Aug 2026 07:07:58 +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 | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 2378be2b..d3eea1bf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,7 +47,7 @@ optional-dependencies.dev = [ "furo==2025.12.19", "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", @@ -468,10 +468,3 @@ whitelines = 1 [tool.no_defaults] private_only = true per_file_enforcement."tests/**" = "all" - -[tool.mypy_strict_kwargs] -ignore_names = [ - "beartype._decor.decorcache.beartype", - "_pytest.fixtures.fixture", - "pytest_asyncio.plugin.fixture", -] From f6d7be94a7affd34166a5dd974875fda77511b9d Mon Sep 17 00:00:00 2001 From: Adam Dangoor Date: Tue, 25 Aug 2026 07:58:07 +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 d3eea1bf..9405e389 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,7 +47,7 @@ optional-dependencies.dev = [ "furo==2025.12.19", "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",