Run the ruff hooks from the lockfile - #55
Merged
Merged
Conversation
The remote ruff hook was pinned at 0.9.2 while uv.lock and CI were on 0.16, so prek passed locally on rules CI then failed. Both ruff hooks now run through uv like the pyright hook already did, so the versions cannot drift. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013E6ygEUq3gzUrTzPJxcwtH
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
.pre-commit-config.yamlpinnedastral-sh/ruff-pre-commitat v0.9.2.uv.lockand CI moved to ruff 0.16 in #15. Since thenprek runhas linted with a ruff that predates the expanded default set: clean locally, red in CI.The
pyrighthook already ranuv run pyrightagainst the lock. Both ruff hooks now do the same, so the hook version and the CI version are the same file.prek run --all-filespasses onmain.🤖 Generated with Claude Code
https://claude.ai/code/session_013E6ygEUq3gzUrTzPJxcwtH