Conversation
…elated configurations
…nsistency and improved performance
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1360 +/- ##
=======================================
Coverage 99.88% 99.88%
=======================================
Files 6 6
Lines 898 898
Branches 126 126
=======================================
Hits 897 897
Partials 1 1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Pull request overview
This pull request migrates the repository from using the pre-commit framework to prek, a faster, Rust-based drop-in replacement. The migration updates all references across documentation, configuration files, and CI/CD workflows. Additionally, the pytest hook was removed from the pre-commit configuration, as test execution is now separate from the hook-based linting/formatting checks.
Changes:
- Replaced
pre-commitdependency withprek>=0.3.3inpyproject.tomlanduv.lock - Updated all documentation files to reference
prekinstead ofpre-commit - Modified GitHub Actions workflow to use
prekfor all linting hooks - Removed
pytesthook from.pre-commit-config.yaml
Reviewed changes
Copilot reviewed 9 out of 10 changed files in this pull request and generated 9 comments.
Show a summary per file
| File | Description |
|---|---|
uv.lock |
Removed pre-commit and its dependencies (cfgv, identify, nodeenv); added prek package with platform-specific wheels |
pyproject.toml |
Changed dev dependency from pre-commit==4.5.1 to prek>=0.3.3 |
README.md |
Updated documentation to reference prek instead of pre-commit, including badge link and usage instructions |
.pre-commit-config.yaml |
Removed pytest hook as test execution is no longer part of the hook set |
.github/workflows/linting.yaml |
Updated all pre-commit commands to prek and renamed job from pre-commit-hooks to prek-hooks |
.github/copilot-instructions.md |
Updated all references from pre-commit to prek in coding guidelines and instructions |
.github/prompts/code-review.prompt.md |
Updated validation commands to use prek |
.github/prompts/add-parameter.prompt.md |
Updated validation commands to use prek |
.github/skills/bsblan-testing/SKILL.md |
Updated section heading and commands from pre-commit to prek; removed pytest from hook description |
.github/skills/bsblan-parameters/SKILL.md |
Updated validation commands to use prek |
…ek' for improved command execution consistency
|



This pull request migrates the repository from using the
pre-commitframework toprek, a faster, Rust-based drop-in replacement. All documentation, configuration files, and workflow steps have been updated to reference and useprekinstead ofpre-commit. Additionally, thepytestpre-commit hook was removed from the configuration, and the relevant dependency was updated inpyproject.toml.Migration from pre-commit to prek:
All references to
pre-commitin documentation files (README.md,.github/copilot-instructions.md,.github/prompts/add-parameter.prompt.md,.github/prompts/code-review.prompt.md,.github/skills/bsblan-parameters/SKILL.md,.github/skills/bsblan-testing/SKILL.md) have been updated to useprekinstead. This includes instructions, code snippets, and section headings. [1] [2] [3] [4] [5] [6] [7]The badge/link in
README.mdwas changed frompre-committoprek, and all usage instructions now referenceprek.Configuration and workflow changes:
The GitHub Actions workflow in
.github/workflows/linting.yamlwas updated to runprekinstead ofpre-commitfor all hooks and checks, and the job name was changed frompre-commit-hookstoprek-hooks. [1] [2] [3] [4] [5]The development dependency in
pyproject.tomlwas updated frompre-committoprek.Pre-commit configuration cleanup:
pytesthook was removed from.pre-commit-config.yaml, as test execution is no longer part of the (nowprek-based) hook set.