1
0
mirror of https://github.com/j178/prek.git synced 2026-04-25 02:11:36 +02:00
Files
2025-08-03 10:54:29 +08:00

768 B

Difference from pre-commit

  • prefligit supports both .pre-commit-config.yaml and .pre-commit-config.yml configuration files.
  • prefligit implements some common hooks from pre-commit-hooks in Rust for better performance.
  • prefligit uses ~/.prefligit as the default cache directory for toolchains and environments, and stores repos and hooks separately.
  • prefligit uses uv for managing Python installations, environments and dependencies.
  • prefligit supports language-version as a version specifier and automatically installs the required toolchains.
  • prefligit sample-config command has a --file option to write the sample configuration to a specific file.

Future plans

  • Built-in support for monorepos.
  • Global configurations.