Skip to content

Commit e8b5ac7

Browse files
Add strict-kwargs pre-commit hook in fix mode (#3172)
* Add strict-kwargs as a local pre-commit hook (dev dependency) * [pre-commit.ci lite] apply automatic fixes * Fix strict-kwargs dev dependency alphabetical order * [pre-commit.ci lite] apply automatic fixes * Fix strict-kwargs dev dependency alphabetical order * Fix malformed dev dependencies list in pyproject.toml * [pre-commit.ci lite] apply automatic fixes * Bump strict-kwargs to 2026.5.18.post1 and revert Python changes * [pre-commit.ci lite] apply automatic fixes --------- Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
1 parent 21efb88 commit e8b5ac7

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
@@ -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,16 @@ 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+
341352
- id: doc8
342353
name: doc8
343354
entry: uv run --extra=dev -m doc8

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ optional-dependencies.dev = [
9696
"sphinx-toolbox==4.2.0rc1",
9797
"sphinxcontrib-httpdomain==2.0.0",
9898
"sphinxcontrib-spelling==8.0.2",
99+
"strict-kwargs==2026.5.18.post1",
99100
"sybil==10.0.1",
100101
"tenacity==9.1.4",
101102
"ty==0.0.37",

0 commit comments

Comments
 (0)