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

1204 Commits

Author SHA1 Message Date
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
Jo 7e1d11898d Improve subprocess error message (#276) 2025-07-31 11:18:19 +08:00
Jo 152c8d51d1 Fix python version matching (#275)
* Minor improvements to tests

* fix python version match

* Improve
2025-07-30 14:27:51 +08:00
Jo 73493aa6ff Implement language specific version parsing (#273)
* Implement language specific version parsing

* Fix test

* Add tests
2025-07-29 22:36:31 +08:00
Jo 448b29022d Add PREFLIGIT_NO_FAST_PATH to disable Rust fast path (#272) 2025-07-29 14:40:43 +08:00
Jo fe931547dd Bump version to v0.0.12 (#271) v0.0.12 2025-07-29 10:19:16 +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 225dcedd36 Use sync_all over flush (#269) 2025-07-29 09:51:00 +08:00
Jo ff707a4784 Add test fixture files (#266) 2025-07-28 18:09:28 +08:00
Jo c3fcb70247 Bump version to 0.0.11 (#263)
* Bump version to 0.0.11
v0.0.11
2025-07-28 17:05:46 +08:00
Jo e73dbd553f Mark node as not implemented yet (#264) 2025-07-28 16:56:18 +08:00
Jo 4a93a2727d Tweak readme features 2025-07-28 16:00:49 +08:00
Jo f47058fee5 Improve builtin hook tests (#262) 2025-07-28 15:57:52 +08:00
Jo 46041cf8de Bump uv version (#260)
* .

* Bump uv version
2025-07-28 15:42:15 +08:00
Jo 74039f54ff Ensure flushing log file (#261) 2025-07-28 15:39:57 +08:00
Jo 765db80dd2 Use astral-sh/rs-async-zip (#259) 2025-07-28 13:48:03 +08:00
Jo ec28f449cc Implement install-hooks (#258)
* Implement `install-hooks`

* Add tests
2025-07-28 13:33:24 +08:00
Luiz Otavio Vilas Boas Oliveira fac3516167 Implement pre-commit-hooks:end-of-file-fixer (#255) 2025-07-20 21:19:33 +08:00
Jo e5e76a07f0 Bump to Rust 1.88 and cargo update (#254)
* Run `cargo update`

* Upgrade rust to 1.88

* tweak
2025-07-04 17:57:30 +08:00
renovate[bot] 3f5fe7a5a8 Update Rust crate libc to v0.2.174 (#247)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jo <10510431+j178@users.noreply.github.com>
2025-07-04 15:51:21 +08:00
renovate[bot] 603859147e Update Rust crate clap_complete to v4.5.54 (#245)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-04 15:46:08 +08:00
renovate[bot] e9cd390efd Update Rust crate async-compression to v0.4.25 (#243)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-04 15:45:57 +08:00
renovate[bot] f1b69cd830 Update Rust crate tokio-util to v0.7.15 (#249)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-04 15:45:44 +08:00
renovate[bot] c50423977d Update Rust crate clap to v4.5.40 (#244)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-04 15:45:17 +08:00
renovate[bot] 21c5cfbd41 Update Rust crate assert_cmd to v2.0.17 (#242)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-04 15:44:57 +08:00
renovate[bot] 711059c2cf Update Rust crate anyhow to v1.0.98 (#241)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-04 15:44:43 +08:00
renovate[bot] a2c1188058 Update Rust crate ctrlc to v3.4.7 (#246)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-04 15:44:07 +08:00
renovate[bot] 2aed78a2eb Update Rust crate rand to v0.9.1 (#248)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-04 15:43:33 +08:00
renovate[bot] 9f20529eb5 Update Rust crate bstr to v1.12.0 (#250)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-04 15:43:13 +08:00
Asstra 69b1845576 feat(script): add script hooks support to prefligit (#252) 2025-06-23 20:40:01 +08:00
Quentin Richert a88582a653 Add language name to 'not yet implemented' messages (#251) 2025-05-01 17:36:10 +08:00
renovate[bot] bc68fad2e3 Update Rust crate tokio to v1.44.2 [SECURITY] (#240) 2025-04-08 08:26:35 +08:00
renovate[bot] a331b255e0 Update Rust crate tokio-util to v0.7.14 (#237)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-01 11:08:31 +08:00
renovate[bot] 0855561b6a Update Rust crate tempfile to v3.19.1 (#239)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-01 11:08:12 +08:00
renovate[bot] b0f7857ac5 Update Rust crate astral-tokio-tar to v0.5.2 (#229)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-01 11:07:51 +08:00
renovate[bot] deaa4d5e3e Update Rust crate clap_complete to v4.5.47 (#232)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-01 10:47:04 +08:00
renovate[bot] a7a637dc93 Update Rust crate clap to v4.5.34 (#231)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-01 10:46:48 +08:00
renovate[bot] 511f4c6846 Update Rust crate async-compression to v0.4.22 (#230)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-01 10:46:08 +08:00
renovate[bot] 3d803f613c Update Rust crate serde to v1.0.219 (#235)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-01 10:45:58 +08:00
renovate[bot] f6e1c31eeb Update Rust crate libc to v0.2.171 (#233)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-01 10:45:48 +08:00
renovate[bot] 2762f90c24 Update Rust crate reqwest to v0.12.15 (#234)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-01 10:45:31 +08:00
renovate[bot] a204d230a2 Update Rust crate tokio to v1.44.1 (#236)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-01 10:45:20 +08:00
renovate[bot] 61baf2666a Update Rust crate http to v1.3.1 (#238)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-01 10:45:10 +08:00
Jo 9a211cffd1 Fix typo in readme 2025-03-30 13:45:47 +08:00
Jo 2216474cea Update README.md 2025-03-27 21:05:43 +08:00
Jo a53486d8d0 Write .prefligit-repo.json inside cloned repo (#225) 2025-03-12 16:38:48 +08:00
Jo 78dfe0eefc Refactor language version resolution and hook install dir (#221)
* .

* .

* .

* .

* .

* Fix tests

* Improve

* Fix
2025-03-12 13:58:27 +08:00