diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 4d6f17c2..5be4d2a0 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -41,6 +41,8 @@ jobs: - name: Lint uses: j178/prek-action@v3.0.0 with: + # Avoid Windows os error 193 from corrupted prek hook cache. + cache: false prek-version: 0.4.11 extra-args: >- --all-files --hook-stage ${{ matrix.hook-stage }} --verbose diff --git a/pyproject.toml b/pyproject.toml index 46083c03..3979cc43 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,7 +47,7 @@ optional-dependencies.dev = [ "hadolint-bin==2.15.1; sys_platform!='win32'", "interrogate==1.7.0", "mypy[faster-cache]==2.3.1", - "mypy-strict-kwargs==2026.7.19.1", + "mypy-strict-kwargs==2026.8.20.1", "no-defaults==2.1.0", "prek==0.4.14", "pydocstringformatter==1.0.0", @@ -452,6 +452,14 @@ type = [ { directory = "change", name = "", showcontent = true }, ] +[tool.mypy_strict_kwargs] +ignore_names = [ + # Decorators applied positionally (mypy-strict-kwargs 2026.8+) + "beartype._decor.decorcache.beartype", + "_pytest.fixtures.fixture", + "pytest_asyncio.plugin.fixture", +] + [tool.pydocstringformatter] write = true split-summary-body = false diff --git a/uv.lock b/uv.lock index ee756a83..b5cc68f4 100644 --- a/uv.lock +++ b/uv.lock @@ -835,14 +835,14 @@ wheels = [ [[package]] name = "mypy-strict-kwargs" -version = "2026.7.19.1" +version = "2026.8.20.1" 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/15/4e/0a584a317545a9526fd53786962a6c516252b5721823325275c40ae5a6a5/mypy_strict_kwargs-2026.8.20.1.tar.gz", hash = "sha256:7daed333ce8dd5d8980091d46e1354e5ea52870d403d4a70b69ca684e9aadba7", size = 55546, upload-time = "2026-08-20T11:06:56.866Z" } 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/54/41/31497135553443385038302f4eb7bfc43cc3feca7c44a32c181383cf2b75/mypy_strict_kwargs-2026.8.20.1-py3-none-any.whl", hash = "sha256:8f91bd5830e717a4cf8f591c7dceb25b870d63448b073364a9092f4ed56a4eda", size = 26538, upload-time = "2026-08-20T11:06:55.395Z" }, ] [[package]] @@ -2338,7 +2338,7 @@ requires-dist = [ { name = "homebrew-pypi-poet", marker = "extra == 'release'", specifier = "==0.10.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.20.1" }, { name = "no-defaults", marker = "extra == 'dev'", specifier = "==2.1.0" }, { name = "prek", marker = "extra == 'dev'", specifier = "==0.4.14" }, { name = "pydocstringformatter", marker = "extra == 'dev'", specifier = "==1.0.0" },