Skip to content

Clarify fast-path vs builtin hooks #2405

Closed

Description

@injust

After reading https://prek.j178.dev/builtin/, I am confused by some of the differences between the lists of fast-path vs builtin hooks:

  • If all fast-path hooks are bundled into the prek binary, aren't they by definition builtin, so should be made available in the builtin repo?
  • The description of the internal hooks in the builtin repo sound a lot like the fast-path hooks. Shouldn't all builtin hooks that come from pre-commit be fast-path'd?

Fast-path hooks that aren't builtin:

forbid-new-submodules

Builtin hooks that aren't fast-path but are in pre-commit's repo, and aren't noted with a caveat:

check-illegal-windows-names

Activity

  1. added
    questionFurther information is requested
    documentationImprovements or additions to documentation
    and removed
    questionFurther information is requested
    on Jul 27, 2026
  2. added a commit that references this issue on Jul 31, 2026
    93b2cd4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions