Skip to content

Pre-commit hook shim for Rusty TODO MD. Fetches prebuilt wheels from PyPI so the hook works without a Rust toolchain. Mirrors upstream tags and is drop-in for `.pre-commit-config.yaml`.

License

Notifications You must be signed in to change notification settings

simone-viozzi/rusty-todo-md-pre-commit

Repository files navigation

rusty-todo-md-pre-commit

Actions status PyPI - Version PyPI - Python Version License: MIT

A pre-commit hook shim for Rusty TODO.md, installing prebuilt wheels from PyPI so you can use it without a Rust toolchain.


🚀 Quick start

Add this to your .pre-commit-config.yaml:

repos:
  - repo: https://github.com/simone-viozzi/rusty-todo-md-pre-commit
    rev: v1.10.2
    hooks:
      - id: rusty-todo-md

Then install the hook:

pre-commit install

Now rusty-todo-md will run on staged files at commit time. For CLI usage, configuration options, and advanced examples, see the main Rusty TODO.md repository.


📦 Requirements

  • Python ≥ 3.10
  • No Rust toolchain required if a prebuilt wheel exists for your platform

🖥️ Supported platforms (prebuilt wheels)

Rusty TODO.md publishes wheels for:

OS / libc Architectures
Linux (manylinux) x86_64, x86, aarch64, armv7, ppc64le
Linux (musllinux) x86_64, x86, aarch64, armv7
Windows x64, x86
macOS x86_64 (macOS 13), aarch64 (macOS 14)

✅ Platform coverage may evolve — check upstream releases for the latest wheel list.


📌 Why this repo exists

When pre-commit runs a hook from a Git repository, it clones the repo and runs:

pip install .

This triggers a source install of Rusty TODO.md, which would require a Rust toolchain to build from source.

This shim repository solves that: it lists rusty-todo-md as a PyPI dependency in its pyproject.toml, so pre-commit will fetch prebuilt wheels from PyPI for your platform — no compilation needed.

Tags in this repository match upstream tags exactly and are kept in sync via CI.


📚 More info


⚖️ License

This project is licensed under the MIT License.

About

Pre-commit hook shim for Rusty TODO MD. Fetches prebuilt wheels from PyPI so the hook works without a Rust toolchain. Mirrors upstream tags and is drop-in for `.pre-commit-config.yaml`.

Topics

Resources

License

Stars

Watchers

Forks