1
0
mirror of https://github.com/j178/prek.git synced 2026-04-09 01:52:24 +02:00
Commit Graph

8 Commits

Author SHA1 Message Date
yihong
373b0f1607 Support YAML merge keys in .pre-commit-config.yaml (#871)
* fix: close issue #870 by merge and ignore the config

Signed-off-by: yihong0618 <zouzou0208@gmail.com>

* Tweak

---------

Signed-off-by: yihong0618 <zouzou0208@gmail.com>
Co-authored-by: Jo <10510431+j178@users.noreply.github.com>
2025-10-14 11:25:37 +08:00
Jo
bc1b423a94 Bring back .pre-commit-config.yml support (#676)
* Bring back `.pre-commit-config.yml` support

* Fix snaps
2025-09-08 19:39:46 +08:00
tmdhhl
b1f929a1b6 Warn unexpected keys in config (#463)
* warn unexpected keys.

* Tweak

---------

Co-authored-by: Jo <10510431+j178@users.noreply.github.com>
2025-08-15 21:13:37 +08:00
Jo
1c034a1afb Ignore config not staged error for config outside the repo (#270)
* Use `sync_all` over `flush`

* Ignore config not staged for config outside the repo

* improve test
2025-07-29 09:56:09 +08:00
Jo
0f8704d6f8 Upgrade to Rust 2024 edition (#196) 2025-02-21 17:56:12 +08:00
Jo
08dc3893aa Add two helper functions to TestContext (#84)
* Add two helper functions to TestContext

* fix
2024-11-20 18:19:30 +08:00
Jo
ff765eca12 Implement pre-commit validate-manifest (#26) 2024-11-10 17:34:07 +08:00
Jo
0ab81e58be Implement pre-commit validate-config (#25) 2024-11-10 17:24:38 +08:00