Skip to content

Commit 5b8018d

Browse files
Migrate from pre-commit to prek (#195)
prek is a drop-in replacement for pre-commit and reuses the existing .pre-commit-config.yaml unchanged. Swap the dev dependency and update the install command in the README. Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 3882341 commit 5b8018d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ uv run python examples/pyside/layout-example.py
101101
# Run test suite:
102102
uv run pytest
103103
# Install git pre-commit hooks to make sure tests/linting passes before committing
104-
uv run pre-commit install
104+
uv run prek install
105105
```
106106

107107

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ pyside = ["PySide6>=6.6.2,!=6.8.3,!=6.9.0 ; python_version < '3.15'"]
2626
[dependency-groups]
2727
dev = [
2828
"colorlog",
29-
"pre-commit",
29+
"prek",
3030
"pytest",
3131
"pytest-benchmark",
3232
"pytest-cov",

0 commit comments

Comments
 (0)