Skip to content

Remote pre-commit configuration #1238

@nikaro

Description

@nikaro

It would be nice if we could include remote pre-commit-config files.
This would allow to have shared/centralized pre-commit config accross repositories.

For exemple in my repository I would have a .pre-commit-config.yaml which look like this:

includes:
  - https://github.com/j178/prek/raw/refs/heads/master/.pre-commit-config.yaml

# optional additions or overrides
repos:
  [...]

Inspiration taken from Task and its remote taskfiles.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ideaJust an ideathinkingI'm thinking on this

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions