1
0
mirror of https://github.com/j178/prek.git synced 2026-04-25 02:11:36 +02:00

400 Commits

Author SHA1 Message Date
Jo 5d4695d07c Claude code 2025-08-04 11:10:45 +08:00
Jo f6cd964c64 Update README.md 2025-08-04 05:10:18 +08:00
Jo 99b406897c Minor improvement to install_hooks (#331) 2025-08-04 04:15:39 +08:00
Jo 9370e9800e Bump version to 0.0.17 (#328) v0.0.17 2025-08-03 20:51:34 +08:00
Jo 0253181df8 Reimplement find matching env logic (#327)
* Reimplement find matching env logic

* Fix test

* Fix
2025-08-03 20:35:03 +08:00
Jo 9c64f463ff Cache the path to uv (#323) 2025-08-03 16:05:21 +08:00
Jo c42aac68bb Bump cargo-dist to 0.29.0 (#322) 2025-08-03 13:40:32 +08:00
Jo 7bc0a164ed Support python311 as a valid language version (#321) 2025-08-03 12:29:19 +08:00
Jo ced7a328df Cache computed dependencies on hook (#319) 2025-08-03 11:43:48 +08:00
Jo a7b9007ddb Update DIFF.md (#318) 2025-08-03 10:54:29 +08:00
Jo 5ac91b9be3 Fix issue that entry of pygrep is not shell commands (#316)
* Fix issue that `entry` of `pygrep` is not shell commands

* Fix snap
2025-08-03 10:40:09 +08:00
Jo d0d89038b2 Improve sample-config writing file (#314) 2025-08-03 04:25:06 +08:00
Jo c70122f23b Add sample-config --file to write sample config to file (#313) 2025-08-02 23:06:28 +08:00
Jo 099bfb1f09 Minor update readme 2025-08-02 21:09:17 +08:00
Jo 5ef4db3ed9 Bump to 0.0.16 (#312) v0.0.16 2025-08-02 21:07:56 +08:00
Jo 5cd12dc8c4 Fix end-of-file-fixer replaces \r\n with \n (#311)
* Fix `end-of-file-fixer` replaces `\r\n` with `\n`

Closes 309

* Improve

* Fix
2025-08-02 21:02:41 +08:00
Jo 172abf4d59 Improve error message for hook installation and run (#310) 2025-08-02 19:35:21 +08:00
Jo c7641c41e5 Improve error message for hook (#308)
* .

* Improve error message for hook

* Improve

* Add test

* Fix

* Fix
2025-08-02 18:44:59 +08:00
Jo 157d5ee7ac Improve hook invalid error message (#307) 2025-08-02 16:46:28 +08:00
Jo e663be632e Parse entry when constructing hook (#306)
* Parse `entry` when constructing hook

* Add test
2025-08-02 16:31:22 +08:00
Jo 6e5aed86e7 Use more anyhow::Context (#305) 2025-08-02 16:24:08 +08:00
Jo c55eb63bbb Update slogan 2025-08-02 12:45:39 +08:00
Jo eb8ba0941d Use anyhow::Context (#303) 2025-08-02 12:36:58 +08:00
Jo e2465ec7e5 Use official homebrew-core tap 2025-08-02 12:06:30 +08:00
Jo 021e9be5ed Add emoji to features on readme 2025-08-02 12:02:27 +08:00
Jo 7ea0183836 Rename autoupdate to auto-update, init-templatedir to init-template-dir (#302) 2025-08-02 11:58:08 +08:00
Jo a8101bbd71 Update usage 2025-08-02 11:51:24 +08:00
Jo 49a200473c Bump to 0.0.15 (#301) v0.0.15 2025-08-02 11:18:00 +08:00
Jo 3dbd62eb65 Improve readme 2025-08-02 06:48:45 +08:00
Jo b508f5b583 Update readme (#300) 2025-08-02 06:47:02 +08:00
Jo d90dd3316b Simplify npm installing dependencies (#299) 2025-08-02 06:46:36 +08:00
Jo ca12c55c1b Support nodejs language hook (#298)
* .

* Support `nodejs` language

* add run

* .

* Fix

* Improve

* Test

* add test

* Debug

* Fix npm name

* oh my, windows

* Fix

* Fix
2025-08-02 06:33:16 +08:00
Jo 7b8576e4df Move local_need_install test to python (#297) 2025-08-02 01:53:01 +08:00
Jo 59c6867ef6 Show unimplemented message earlier (#296) 2025-08-01 14:46:55 +08:00
Jo 4f775f94d0 Remove unused find_python (#293) 2025-08-01 13:07:35 +08:00
Jo baf6145bb8 Bump version to 0.0.14 (#292) v0.0.14 2025-08-01 12:17:34 +08:00
Jo c28ca26c47 Try default uv managed python first, fallback to download (#291)
* .

* Try default uv managed python first, fallback to download

* Fix
2025-08-01 12:07:33 +08:00
Jo c935594e56 Show unimplemented status instead of panic (#290) 2025-08-01 11:17:24 +08:00
renovate[bot] 06fd87ca7d Update Rust crate serde_json to v1.0.142 (#285)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-01 10:33:59 +08:00
renovate[bot] 194a679f61 Update Rust crate fancy-regex to 0.16.0 (#286)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-01 10:33:08 +08:00
renovate[bot] c4a111c0d0 Update Rust crate indicatif to 0.18.0 (#287)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-01 10:32:33 +08:00
renovate[bot] 97b2646fda Update astral-sh/setup-uv action to v6 (#289)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-01 10:23:41 +08:00
renovate[bot] 54842ce756 Update Rust crate pprof to 0.15.0 (#288)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-01 10:23:18 +08:00
Jo 6c205b2270 Add asserts to tests (#283)
* Add asserts to tests

* Fix

* Debug

* Use a old python 3.12 that github action does not installed
2025-08-01 02:09:52 +08:00
Jo f422b2e0cd Bump to 0.0.13 (#282) v0.0.13 2025-08-01 00:34:37 +08:00
Jo b9acf150d1 Support downloading requested Python version automatically (#281)
* Support auto download requested Python version

* Add test

* Fix

* Fix windows test
2025-08-01 00:27:02 +08:00
Jo a13c5ebfb1 Remove language resolve step (#280)
* Remove language resolve step

* Fix docker build
2025-07-31 22:19:00 +08:00
Jo ca2f1a0480 Move find matching installed env out from language (#279) 2025-07-31 21:30:32 +08:00
Jo d56cbac326 Show progress bar in verbose mode (#278) 2025-07-31 20:33:40 +08:00
Jo a7fb956ec4 Remove LanguagePreference and improve language check (#277) 2025-07-31 20:16:27 +08:00