diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 27537657..31eea11f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -12,6 +12,7 @@ ci: skip: - actionlint - sphinx-lint + - strict-kwargs-fix - check-manifest - deptry - doc8 @@ -299,6 +300,16 @@ repos: - *uv_version stages: [pre-commit] + - id: strict-kwargs-fix + name: strict-kwargs + entry: uv run --extra=dev strict-kwargs fix + language: python + types_or: [python] + additional_dependencies: + - *uv_version + stages: [pre-commit] + require_serial: true + - id: doc8 name: doc8 entry: uv run --extra=dev -m doc8 diff --git a/pyproject.toml b/pyproject.toml index 6d5c70d4..453c885c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -76,6 +76,7 @@ optional-dependencies.dev = [ "sphinx-pyproject==0.3.0", "sphinx-substitution-extensions==2026.1.12", "sphinxcontrib-spelling==8.0.2", + "strict-kwargs==2026.5.18.post1", "sybil==9.3.0", # Listed explicitly (despite being transitive via vws-python-mock) so that # [tool.uv.sources] can redirect to the CPU-only PyTorch index.