Skip to content

Commit 140377a

Browse files
committed
Add strict-kwargs via uv in pre-commit
1 parent 5846d9e commit 140377a

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
@@ -7,6 +7,7 @@ fail_fast: true
77
# We therefore cannot use those dependencies in pre-commit CI.
88
ci:
99
skip:
10+
- strict-kwargs-fix
1011
- actionlint
1112
- sphinx-lint
1213
- check-manifest
@@ -338,6 +339,17 @@ repos:
338339
- *uv_version
339340
stages: [pre-commit]
340341

342+
- id: strict-kwargs-fix
343+
name: strict-kwargs
344+
entry: uv run --extra=dev strict-kwargs fix
345+
language: python
346+
types_or: [python]
347+
additional_dependencies:
348+
- *uv_version
349+
stages: [pre-commit]
350+
require_serial: true
351+
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)