Skip to content

Replace pre-commit with prek#170

Open
Dev-iL wants to merge 1 commit into
psqlpy-python:mainfrom
Dev-iL:2605/prek
Open

Replace pre-commit with prek#170
Dev-iL wants to merge 1 commit into
psqlpy-python:mainfrom
Dev-iL:2605/prek

Conversation

@Dev-iL
Copy link
Copy Markdown

@Dev-iL Dev-iL commented May 14, 2026

Description

Replace pre-commit with prek, a drop-in replacement, across the repository. This updates the dev dependency, contributor docs, and adds a CI workflow using the official prek GitHub Action.

Motivation and Context

prek is a drop-in replacement for pre-commit and is the preferred tool going forward. All existing .pre-commit-config.yaml hook configurations remain valid and unchanged.

How has this been tested?

The changes are mechanical substitutions — no logic changed. The .pre-commit-config.yaml files are untouched, so hook behavior is identical. The new CI workflow follows the pattern from the j178/prek-action documentation.

Screenshots (if appropriate):

N/A

Types of changes

  • New feature (non-breaking change which adds functionality)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

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.

1 participant