Skip to content

Commit 95cc17f

Browse files
committed
Add strict-kwargs as a local pre-commit hook (dev dependency)
1 parent 707baeb commit 95cc17f

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

.pre-commit-config.yaml

Lines changed: 12 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,17 @@ repos:
299300
- *uv_version
300301
stages: [pre-commit]
301302

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

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ optional-dependencies.dev = [
8282
# See: https://vws-python.github.io/vws-python-mock/installation.html#faster-installation
8383
"torch>=2.5.1",
8484
"torchvision>=0.20.1",
85+
"strict-kwargs==2026.5.18",
8586
"ty==0.0.36",
8687
"types-requests==2.33.0.20260513",
8788
"vulture==2.16",

0 commit comments

Comments
 (0)