ITADN

add pre commit hooks

#410OpenTwistingTwists 创建于 2026-02-25
T
TwistingTwistscommented
### Issue: Lots of PRs see cargo fmt issue - https://github.com/sunng87/pgwire/actions/runs/20714913810/job/59993959730?pr=375 ### Solution: I can add a pre commit hook via https://prek.j178.dev/ (`prek`) to ensure that cargo fmt runs before git commit / push - just to ensure that CI is cleaner.
1 条评论