diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 604ff5051..d6893a450 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,6 +9,7 @@ ci: skip: - actionlint - sphinx-lint + - strict-kwargs-fix - check-manifest - custom-linters - deptry @@ -338,6 +339,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 2cd60ed01..57809860f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -96,6 +96,7 @@ optional-dependencies.dev = [ "sphinx-toolbox==4.2.0rc1", "sphinxcontrib-httpdomain==2.0.0", "sphinxcontrib-spelling==8.0.2", + "strict-kwargs==2026.5.18.post1", "sybil==10.0.1", "tenacity==9.1.4", "ty==0.0.37",