Skip to content

Repository files navigation

git-hooks

A personal collection of pre-commit hooks.

AI disclosure: these hooks were written with AI assistance, at least in part.

Usage

Add to a project's .pre-commit-config.yaml:

repos:
  - repo: https://github.com/JonBoyleCoding/git-hooks
    rev: v0.1.1
    hooks:
      - id: hy-stubgen

hy-stubgen uses the project's own hy and ruff. hy-stubgen-uv is the same hook self-contained via uv (needs uv available).

Hooks

Hook Description
hy-stubgen Generate and merge .pyi stubs for .hy modules using the environment's hy/ruff; fail on public placeholders.
hy-stubgen-uv As hy-stubgen but self-contained via uv (typer/rich); needs uv, not a project hy/ruff.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages