Skip to content

Commit 952b53f

Browse files
committed
Add strict-kwargs as a local pre-commit hook (dev dependency)
1 parent 5846d9e commit 952b53f

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
@@ -9,6 +9,7 @@ ci:
99
skip:
1010
- actionlint
1111
- sphinx-lint
12+
- strict-kwargs-fix
1213
- check-manifest
1314
- custom-linters
1415
- deptry
@@ -338,6 +339,17 @@ repos:
338339
- *uv_version
339340
stages: [pre-commit]
340341

342+
343+
- id: strict-kwargs-fix
344+
name: strict-kwargs
345+
entry: uv run --extra=dev strict-kwargs fix
346+
language: python
347+
types_or: [python]
348+
additional_dependencies:
349+
- *uv_version
350+
stages: [pre-commit]
351+
require_serial: true
352+
341353
- id: doc8
342354
name: doc8
343355
entry: uv run --extra=dev -m doc8

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ optional-dependencies.dev = [
9898
"sphinxcontrib-spelling==8.0.2",
9999
"sybil==10.0.1",
100100
"tenacity==9.1.4",
101+
"strict-kwargs==2026.5.18",
101102
"ty==0.0.37",
102103
"types-docker==7.1.0.20260518",
103104
"types-pyyaml==6.0.12.20260518",

0 commit comments

Comments
 (0)