Replace pre-commit with prek across CI and documentation.#3965
Replace pre-commit with prek across CI and documentation.#3965JDarDagran merged 1 commit intomainfrom
Conversation
|
Thanks for opening your first OpenLineage pull request! We appreciate your contribution. If you haven't already, please make sure you've reviewed our guide for new contributors (https://github.com/OpenLineage/OpenLineage/blob/main/CONTRIBUTING.md). |
There was a problem hiding this comment.
Pull Request Overview
This PR replaces pre-commit with prek, a Rust-based alternative that promises faster performance and reduced disk usage. The changes update references throughout the codebase to use the new tool while maintaining the same functionality.
- Replace pre-commit with prek in documentation and CI configuration
- Update installation and usage commands across contributing guidelines and schema documentation
- Bump CI cache version to reflect the tooling change
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| website/docs/spec/schemas.md | Updates installation and run commands from pre-commit to prek |
| CONTRIBUTING.md | Updates pre-commit setup instructions to use prek instead |
| .circleci/continue_config.yml | Updates CI configuration to install and run prek, bumps cache version |
Signed-off-by: Jakub Dardzinski <[email protected]>
3738843 to
6567c27
Compare
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3965 +/- ##
=======================================
Coverage 85.17% 85.17%
=======================================
Files 57 57
Lines 3844 3844
=======================================
Hits 3274 3274
Misses 570 570 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Problem
prek is quite fresh replacement written in Rust for
pre-commit. It promises to be way faster and use much less disk resources.Solution
This requires some cosmetic changes in CI and docs.
SPDX-License-Identifier: Apache-2.0
Copyright 2018-2025 contributors to the OpenLineage project