Skip to content

Commit 986e5af

Browse files
Merge pull request #3004 from VWS-Python/chore/strict-kwargs-pre-commit
Add strict-kwargs pre-commit hook in fix mode
2 parents 707baeb + 287d91c commit 986e5af

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

.pre-commit-config.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ ci:
1212
skip:
1313
- actionlint
1414
- sphinx-lint
15+
- strict-kwargs-fix
1516
- check-manifest
1617
- deptry
1718
- doc8
@@ -299,6 +300,16 @@ repos:
299300
- *uv_version
300301
stages: [pre-commit]
301302

303+
- id: strict-kwargs-fix
304+
name: strict-kwargs
305+
entry: uv run --extra=dev strict-kwargs fix
306+
language: python
307+
types_or: [python]
308+
additional_dependencies:
309+
- *uv_version
310+
stages: [pre-commit]
311+
require_serial: true
312+
302313
- id: doc8
303314
name: doc8
304315
entry: uv run --extra=dev -m doc8

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ optional-dependencies.dev = [
7676
"sphinx-pyproject==0.3.0",
7777
"sphinx-substitution-extensions==2026.1.12",
7878
"sphinxcontrib-spelling==8.0.2",
79+
"strict-kwargs==2026.5.18.post1",
7980
"sybil==9.3.0",
8081
# Listed explicitly (despite being transitive via vws-python-mock) so that
8182
# [tool.uv.sources] can redirect to the CPU-only PyTorch index.

0 commit comments

Comments
 (0)