Skip to content

chore: update pre-commit hooks - #93

Merged
henryiii merged 4 commits into
mainfrom
pre-commit-ci-update-config
Sep 1, 2026
Merged

henryiii merged 4 commits into
mainfrom
pre-commit-ci-update-config

Conversation

@pre-commit-ci

@pre-commit-ci pre-commit-ci Bot commented Jul 27, 2026 •

Copy link
Copy Markdown
Contributor

@pre-commit-ci
pre-commit-ci Bot force-pushed the pre-commit-ci-update-config branch from fbbb788 to 7662db3 Compare August 3, 2026 22:38
@pre-commit-ci
pre-commit-ci Bot force-pushed the pre-commit-ci-update-config branch from 7662db3 to 5584a3d Compare August 10, 2026 22:39
@henryiii
henryiii force-pushed the pre-commit-ci-update-config branch from 5584a3d to 3ab3646 Compare September 1, 2026 18:39
Rename the ruff hook to ruff-check and move the ruff settings under the new
lint.* keys, with show-fixes as a config option.
Ruff 0.16 flags TRY004 on the plugin validation. Type checks on settings and
on produced field values now raise TypeError; missing or unknown settings and
other config problems keep RuntimeError.

Assisted-by: ClaudeCode:claude-opus-5
@henryiii
henryiii force-pushed the pre-commit-ci-update-config branch from 3ab3646 to 037a162 Compare September 1, 2026 20:29
The testing plugin was missed in the TRY004 pass, and the tests for static
and fields still expected RuntimeError.

Assisted-by: ClaudeCode:claude-opus-5
pre-commit-uv installed hook environments with `uv --project <projectdir>`,
so the rolling `exclude-newer = "7 days"` in pyproject.toml applied to the
hooks too and refused the new ruff. prek installs hooks outside the project,
and the action does its own caching.

Assisted-by: ClaudeCode:claude-opus-5
@henryiii
henryiii merged commit ad287a9 into main Sep 1, 2026
11 checks passed
@henryiii
henryiii deleted the pre-commit-ci-update-config branch September 1, 2026 20:49
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