Skip to content

chore(dev): replace pre-commit with prek - #8354

Merged
sentrivana merged 1 commit into
masterfrom
refactor/replace-pre-commit-with-prek
Nov 26, 2026
Merged

sentrivana merged 1 commit into
masterfrom
refactor/replace-pre-commit-with-prek

Conversation

@joshuarli

Copy link
Copy Markdown
Member

Replaces pre-commit with prek as the dev hook runner.

The dev dependency and uv.lock now use prek 0.5.11 instead of pre-commit 4.7.0, and CONTRIBUTING.md documents the prek hook install command. The hook config itself is unchanged — its local hooks run fine under prek.

Note: virtualenv remains in uv.lock in this repo because tox (unchanged) depends on it; the pre-commit dependency path is gone.

Verified: uv lock --check, prek validate-config .pre-commit-config.yaml, and prek run --all-files — all hooks pass.

Refs DI-2945.

pre-commit is replaced by prek as the dev hook runner. prek is pre-commit-compatible and manages hook environments with uv. virtualenv remains here as a transitive dependency of tox, which is unchanged.
@joshuarli
joshuarli requested a review from a team as a code owner November 23, 2026 18:07
@linear-code

linear-code Bot commented Nov 23, 2026

Copy link
Copy Markdown

DI-2945

@github-actions

github-actions Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Coverage Results 📊

✅ 59241 passed | ⏭️ 3047 skipped | Total: 62288 | Pass Rate: 95.11% | Execution Time: 164m 25s

📊 Comparison with Base Branch

Metric Change
Total Tests 📈 +9
Passed Tests 📈 +9
Failed Tests 📉 -1
Skipped Tests 📈 +1

➖ Removed Tests (1)

View removed tests
  • test_execution_outcome[start_sync_execution-FAILED-stepfunctions_execution_failed]
    • File: tests.integrations.boto3.test_stepfunctions

All tests are passing successfully.

✅ Patch coverage is 100.00% (no changed executable lines found; target 80%).
Project statement coverage is 90.12%.


Generated by Coverage Action

@sentrivana
sentrivana merged commit 566beb0 into master Nov 26, 2026
330 of 332 checks passed
@sentrivana
sentrivana deleted the refactor/replace-pre-commit-with-prek branch November 26, 2026 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants