Skip to content

docs: point pre-commit users at rdlfmt-pre-commit - #23

Merged
fischeti merged 1 commit into
mainfrom
docs/pre-commit-mirror
Nov 1, 2026
Merged

fischeti merged 1 commit into
mainfrom
docs/pre-commit-mirror

Conversation

@fischeti

@fischeti fischeti commented Nov 1, 2026

Copy link
Copy Markdown
Owner

Replaces the repo: local pre-commit snippet with the new rdlfmt-pre-commit mirror, which follows the approach of astli-pre-commit. It is an alternative to #20.

  • The mirror's root package only pins rdlfmt==X.Y.Z, so language: python installs the prebuilt wheel. No Rust toolchain is needed, and the install takes seconds.
  • Tags match rdlfmt releases (v0.1.0 to v0.4.0 are backfilled). A daily workflow polls PyPI and tags each new release, so a tag only appears once its wheel can be installed.
  • The docs show the Dependabot pre-commit ecosystem entry that keeps rev up to date. The same entry is added to this repo's dependabot.yml.

Tested: pre-commit try-repo https://github.com/fischeti/rdlfmt-pre-commit at v0.4.0 with both hooks, and the docs build with -W.

🤖 Generated with Claude Code

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>
@fischeti
fischeti merged commit 838fda0 into main Nov 1, 2026
17 checks passed
@fischeti
fischeti deleted the docs/pre-commit-mirror branch November 1, 2026 22:03
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