Remote pre-commit configuration
Author: nikaroCreated Dec 18, 2025Updated Jul 1, 2026
Labelsenhancement
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.
Source: j178/prek