From 1c401c8bc48d12739c1a44c90911d720ca5608bf Mon Sep 17 00:00:00 2001 From: Adam Dangoor Date: Tue, 25 Aug 2026 07:09:12 +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 | 2 +- uv.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index aace5180a..ef1c8e045 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -63,7 +63,7 @@ optional-dependencies.dev = [ "furo==2025.12.19", "interrogate==1.7.0", "mypy[faster-cache]==2.3.1", - "mypy-strict-kwargs==2026.7.19.1", + "mypy-strict-kwargs==2026.8.25", "no-defaults==2.1.0", "prek==0.4.13", "pydocstringformatter==1.0.0", diff --git a/uv.lock b/uv.lock index a32e8f7e0..8125b048c 100644 --- a/uv.lock +++ b/uv.lock @@ -1094,14 +1094,14 @@ wheels = [ [[package]] name = "mypy-strict-kwargs" -version = "2026.7.19.1" +version = "2026.8.25" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "mypy" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/67/ff/c7100891e45af1ce05db4644ea4a6e3f53aa6a019ab9defecd5fde9e7d69/mypy_strict_kwargs-2026.7.19.1.tar.gz", hash = "sha256:735a1956937365daaea84a6a3a556fde7255575e6fabc5336e499bb890abe44f", size = 30368, upload-time = "2026-07-19T11:59:40.177Z" } +sdist = { url = "https://files.pythonhosted.org/packages/77/d7/4abbb7f635d60797741f49519d0145b642c78b5ce99dbcdd7adc590a7004/mypy_strict_kwargs-2026.8.25.tar.gz", hash = "sha256:b755720b0f721605b8d5d7569a25908d34c4fb9df29d2f83b80006c7eaec3c88", size = 56086, upload-time = "2026-08-25T05:54:58.365Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/50/8a/0f55537fcfe8d358f681059be0ea158df2066d629215cd9090eae4937e17/mypy_strict_kwargs-2026.7.19.1-py3-none-any.whl", hash = "sha256:80c56a7792bb4f0880f7686a8f576022514b219ff8c7c1a8c6e5096c0d64cae2", size = 14064, upload-time = "2026-07-19T11:59:39.009Z" }, + { url = "https://files.pythonhosted.org/packages/0c/b5/bcc2a9a3b648039f38808b86232e14864201b15292bea5d6cb4574da3b4c/mypy_strict_kwargs-2026.8.25-py3-none-any.whl", hash = "sha256:5054921b3b693ed40833cb70756e824b2bdd4e0143ec2c01f0879b4c5fae3ce5", size = 26906, upload-time = "2026-08-25T05:54:57.227Z" }, ] [[package]] @@ -2824,7 +2824,7 @@ requires-dist = [ { name = "httpx", specifier = ">=0.27.0" }, { name = "interrogate", marker = "extra == 'dev'", specifier = "==1.7.0" }, { name = "mypy", extras = ["faster-cache"], marker = "extra == 'dev'", specifier = "==2.3.1" }, - { name = "mypy-strict-kwargs", marker = "extra == 'dev'", specifier = "==2026.7.19.1" }, + { name = "mypy-strict-kwargs", marker = "extra == 'dev'", specifier = "==2026.8.25" }, { name = "no-defaults", marker = "extra == 'dev'", specifier = "==2.1.0" }, { name = "numpy", specifier = ">=2.4.4" }, { name = "opencv-contrib-python-headless", specifier = ">=5.0.0.93" }, From 3fae2b62d03e2497c4fae2546a196c497e02d71b Mon Sep 17 00:00:00 2001 From: Adam Dangoor Date: Tue, 25 Aug 2026 07:58:41 +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 +- uv.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index ef1c8e045..a418e2bca 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -63,7 +63,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.13", "pydocstringformatter==1.0.0", diff --git a/uv.lock b/uv.lock index 8125b048c..27b918e70 100644 --- a/uv.lock +++ b/uv.lock @@ -1094,14 +1094,14 @@ wheels = [ [[package]] name = "mypy-strict-kwargs" -version = "2026.8.25" +version = "2026.8.25.1" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "mypy" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/77/d7/4abbb7f635d60797741f49519d0145b642c78b5ce99dbcdd7adc590a7004/mypy_strict_kwargs-2026.8.25.tar.gz", hash = "sha256:b755720b0f721605b8d5d7569a25908d34c4fb9df29d2f83b80006c7eaec3c88", size = 56086, upload-time = "2026-08-25T05:54:58.365Z" } +sdist = { url = "https://files.pythonhosted.org/packages/f0/f4/dde18a0a2289aaef098a46a0b31b4c552b7d1e2db09032c87237118f9561/mypy_strict_kwargs-2026.8.25.1.tar.gz", hash = "sha256:f65e1d4ee9557dd1392d9bcb13fb8e2fbd925e04d145a8c8a3571e0aa67ab009", size = 56656, upload-time = "2026-08-25T06:36:04.372Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/0c/b5/bcc2a9a3b648039f38808b86232e14864201b15292bea5d6cb4574da3b4c/mypy_strict_kwargs-2026.8.25-py3-none-any.whl", hash = "sha256:5054921b3b693ed40833cb70756e824b2bdd4e0143ec2c01f0879b4c5fae3ce5", size = 26906, upload-time = "2026-08-25T05:54:57.227Z" }, + { url = "https://files.pythonhosted.org/packages/10/5e/411eebd9e9871700edc0f16b8cd7e22b167ea5f95c39556627c651832db4/mypy_strict_kwargs-2026.8.25.1-py3-none-any.whl", hash = "sha256:94d73bce6157737835f8e5b04ff72916dbc554f243b9192b006603e8ba3e326b", size = 27286, upload-time = "2026-08-25T06:36:02.865Z" }, ] [[package]] @@ -2824,7 +2824,7 @@ requires-dist = [ { name = "httpx", specifier = ">=0.27.0" }, { name = "interrogate", marker = "extra == 'dev'", specifier = "==1.7.0" }, { name = "mypy", extras = ["faster-cache"], marker = "extra == 'dev'", specifier = "==2.3.1" }, - { name = "mypy-strict-kwargs", marker = "extra == 'dev'", specifier = "==2026.8.25" }, + { name = "mypy-strict-kwargs", marker = "extra == 'dev'", specifier = "==2026.8.25.1" }, { name = "no-defaults", marker = "extra == 'dev'", specifier = "==2.1.0" }, { name = "numpy", specifier = ">=2.4.4" }, { name = "opencv-contrib-python-headless", specifier = ">=5.0.0.93" },