Skip to content

Add strict-kwargs pre-commit hook in fix mode#2215

Merged
adamtheturtle merged 8 commits into
mainfrom
chore/strict-kwargs-pre-commit
May 18, 2026
Merged

Add strict-kwargs pre-commit hook in fix mode#2215
adamtheturtle merged 8 commits into
mainfrom
chore/strict-kwargs-pre-commit

Conversation

@adamtheturtle
Copy link
Copy Markdown
Member

@adamtheturtle adamtheturtle commented May 18, 2026

Summary

  • Add the strict-kwargs pre-commit hook (rev: 2026.5.18) with args: [fix].
  • Skip the hook in pre-commit CI.
  • Mirror [tool.mypy_strict_kwargs] into [tool.strict_kwargs] where custom ignore lists already exist.

Test plan

  • `pre-commit run strict-kwargs --all-files"

Made with Cursor


Note

Low Risk
Low risk: changes are limited to developer tooling (pre-commit configuration and lockfile dependency bumps) and do not affect runtime code paths.

Overview
Adds a new strict-kwargs pre-commit hook (strict-kwargs fix) and skips it in pre-commit CI.

Updates dev tooling dependencies to include strict-kwargs and refreshes uv.lock, including bumps for prek, ruff, ty, and zizmor.

Reviewed by Cursor Bugbot for commit 85e2c7d. Bugbot is set up for automated code reviews on this repo. Configure here.

@adamtheturtle adamtheturtle force-pushed the chore/strict-kwargs-pre-commit branch from cbc6359 to 411b137 Compare May 18, 2026 11:56
@adamtheturtle adamtheturtle force-pushed the chore/strict-kwargs-pre-commit branch from b7c0252 to 61639a0 Compare May 18, 2026 12:27
@adamtheturtle adamtheturtle force-pushed the chore/strict-kwargs-pre-commit branch from 18bf5bc to e0fe418 Compare May 18, 2026 12:56
@adamtheturtle adamtheturtle force-pushed the chore/strict-kwargs-pre-commit branch from 35244d8 to dc71e71 Compare May 18, 2026 13:05
@adamtheturtle adamtheturtle force-pushed the chore/strict-kwargs-pre-commit branch from 31539df to 8cf7188 Compare May 18, 2026 13:08
@adamtheturtle adamtheturtle force-pushed the chore/strict-kwargs-pre-commit branch from 8cf7188 to 229ea1e Compare May 18, 2026 13:09
@adamtheturtle adamtheturtle force-pushed the chore/strict-kwargs-pre-commit branch from 229ea1e to 6bcfbea Compare May 18, 2026 13:10
@adamtheturtle adamtheturtle force-pushed the chore/strict-kwargs-pre-commit branch from 62c3360 to fc79ae9 Compare May 18, 2026 13:13
Comment thread pyproject.toml Outdated
Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 00539ec. Configure here.

Comment thread pyproject.toml Outdated
@pre-commit-ci-lite pre-commit-ci-lite Bot deployed to development May 18, 2026 14:50 Active
@adamtheturtle adamtheturtle merged commit 6f8e773 into main May 18, 2026
15 checks passed
@adamtheturtle adamtheturtle deleted the chore/strict-kwargs-pre-commit branch May 18, 2026 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant