Repository navigation
docs: point pre-commit users at rdlfmt-pre-commit - #23
Merged
Merged
Conversation
The mirror pins the rdlfmt wheel from PyPI, so the hook installs without a Rust toolchain and its rev can be bumped by pre-commit autoupdate or Dependabot. Dependabot now also bumps this repository's own hooks. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Replaces the
repo: localpre-commit snippet with the new rdlfmt-pre-commit mirror, which follows the approach ofastli-pre-commit. It is an alternative to #20.rdlfmt==X.Y.Z, solanguage: pythoninstalls the prebuilt wheel. No Rust toolchain is needed, and the install takes seconds.v0.1.0tov0.4.0are backfilled). A daily workflow polls PyPI and tags each new release, so a tag only appears once its wheel can be installed.pre-commitecosystem entry that keepsrevup to date. The same entry is added to this repo'sdependabot.yml.Tested:
pre-commit try-repo https://github.com/fischeti/rdlfmt-pre-commitatv0.4.0with both hooks, and the docs build with-W.🤖 Generated with Claude Code