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 f6e97cb1be Update README (#625)
Updated README.md to reflect upcoming features and improvements.
2025-09-06 16:04:09 +08:00
Jo e4c1915633 Add a test to ensure CUR_UV_VERSION in UV_VERSION_RANGE (#618) 2025-09-03 21:24:25 +08:00
Jo 2092da67dc Bump version to 0.1.6 (#617) v0.1.6 2025-09-03 20:01:08 +08:00
Jo 2db7eb56dd Workaround checkout file failure on Windows (#616) 2025-09-03 18:48:04 +08:00
Jo 7292b9bade Improve hook install concurrency (#611) 2025-09-03 14:49:35 +08:00
Jo 87315c7d23 Update badge links in README.md (#610) 2025-09-02 18:36:30 +08:00
Jo e1efb81842 Reuse environment only for hooks with exactly same dependencies (#609)
* Reuse hook env only for exactly same dependencies

* Add test
2025-09-02 18:32:48 +08:00
Jo a3376e3e22 Parse JSON from slice (#604) 2025-09-02 15:17:19 +08:00
Jo fbc360a405 Use rustc_hash::FxHashMap and FxHashSet (#601) 2025-09-02 13:51:02 +08:00
Jo 946e80e962 Bump version to 0.1.5 (#599) v0.1.5 2025-09-02 02:49:32 +08:00
Jo 70261e9bf6 Implement pre-push hook type (#598)
* Implement `pre-push` hook type

* Skip if nothing to push

* Improve test
2025-09-02 02:40:07 +08:00
Jo 25024ca537 Ignore NotFound error in extracting metadata log (#597) 2025-09-02 01:25:08 +08:00
Jo f77f444abb Remove color from trace log (#580)
Since `tracing-subscriber 0.3.20`, ANSI codes will be escaped so that color can not be shown in log. https://github.com/tokio-rs/tracing/commit/4c52ca5266a3920fc5dfeebda2accf15ee7fb278
2025-09-01 14:35:21 +08:00
Jo 4d0c24ba78 Update project status (#578) 2025-09-01 11:23:34 +08:00
renovate[bot] 32968af699 Update taiki-e/install-action action to v2.58.29 (#574)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-01 11:16:39 +08:00
renovate[bot] a7203a9b23 Update Rust crate async-compression to v0.4.30 (#572)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-01 11:16:27 +08:00
renovate[bot] 707ac1a9cc Update pre-commit hook crate-ci/typos to v1.35.7 (#571)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-01 11:12:49 +08:00
renovate[bot] 5e20238bb5 Update dependency uv to v0.8.14 (#570)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-01 11:12:36 +08:00
Jo f9c41e5a85 Disable renovate updating mise managed toolchains for CI (#569) 2025-09-01 11:07:25 +08:00
Jo dfe2a67467 Bump tracing-subscriber to 0.3.20 (#567) 2025-08-30 07:21:10 +08:00
Luiz Otavio Vilas Boas Oliveira dda2898e2e Add validation for file type tags (#565) 2025-08-29 22:10:29 +08:00
Frost Ming 5deb8d7a1f Implement pre-commit-hooks:check-toml (#564)
Fixes #556

Signed-off-by: Frost Ming <me@frostming.com>
2025-08-27 16:06:18 +08:00
Miao fec96272a7 Implement check_yaml as builtin hook (#557)
* Implement `check_yaml` as built hook

* Add `args` check for `check-yaml`

---------

Co-authored-by: Jo <10510431+j178@users.noreply.github.com>
2025-08-27 14:31:24 +08:00
Jo fafc56acd1 Move pty to lib (#563)
* Move `pty` to `lib`

* Fix windows

* Fix Windows

* Fix Windows
2025-08-27 13:21:45 +08:00
Jo 3272baceae Fix mise tasks arguments 2025-08-27 01:37:57 +08:00
Jo d7cbb4f07a Add more tools to mise 2025-08-27 01:29:26 +08:00
Jo c850005d35 Make metadata extract a trace log instead of warn (#562) 2025-08-27 00:28:06 +08:00
Jo 1e14466240 Bump version to 0.1.4 (#561) v0.1.4 2025-08-27 00:18:54 +08:00
Jo 2a73f94590 Move typos configuration into Cargo.toml (#560) 2025-08-26 23:54:03 +08:00
Jo 0edb18e949 Fix CI workflow (#559) 2025-08-26 23:45:22 +08:00
Jo e4f642c912 Use mise for tools and tasks (#558)
* .

* Migrate more
2025-08-26 23:36:47 +08:00
Jo 17315a295a Retry flaky node tests (#555)
* Move some files into `docs` subdirectory

* Retry flaky node tests
2025-08-26 22:02:21 +08:00
Jo ff55ad166e Move some files into docs subdirectory (#554) 2025-08-26 21:49:01 +08:00
Jo 2f3636bf41 Cache current docker container mounts (#552) 2025-08-26 21:24:03 +08:00
renovate[bot] b5f8a3aef7 Migrate renovate config (#542)
* Migrate config .github/renovate.json5

* Add comment

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jo <10510431+j178@users.noreply.github.com>
2025-08-26 17:50:08 +08:00
Jo b37b2abcb7 Improve docker image labels (#551) 2025-08-26 17:49:56 +08:00
Jo e86d1977c4 Add authlib to Who are using prek (#550) 2025-08-26 16:11:19 +08:00
John Xu 1adabe00af Avoid unnecessary allocation in run_by_batch (#549)
* improve: avoid unnecessary alloc

* fix: suppress clippy warning for redundant closure in task mapping(AsyncFn trick)
2025-08-26 15:50:43 +08:00
Jo 4d76af6cd1 Fix trailing-whitespace markdown eol trimming (#547) 2025-08-26 12:24:39 +08:00
Jo 83d6717382 Fix trailing-whitespace eol trimming (#546)
# Conflicts:
#	src/builtin/pre_commit_hooks/fix_trailing_whitespace.rs
2025-08-26 12:08:13 +08:00
Jo f7eeaf26ef Fix trailing-whitespace cannot handle file contains invalid utf-8 data (#544) 2025-08-25 20:00:05 +08:00
Jo 78f785ad64 Bump version to 0.1.3 (#541) v0.1.3 2025-08-25 17:35:36 +08:00
Jo c5fb6ec7f6 Support PEP 723 scripts for Python hooks (#529)
* Support PEP723 scripts for local Python hooks

Fix

Debug windows

debug

Fix

# Conflicts:
#	tests/languages/python.rs

* Fix
2025-08-25 17:07:48 +08:00
Jo 13c04462bf Disable semantic commits for renovate PRs (#538) 2025-08-24 19:00:37 +08:00
renovate[bot] 9b2d89ce40 chore(deps): update astral-sh/setup-uv action to v6.6.0 (#537)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-24 18:59:53 +08:00
renovate[bot] d1a016eac0 fix(deps): update rust crate url to v2.5.7 (#536)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-24 18:59:41 +08:00
renovate[bot] 9bf3064aff fix(deps): update rust crate async-compression to v0.4.28 (#535)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-24 18:59:29 +08:00
renovate[bot] d40b1c9fb7 chore(deps): update taiki-e/install-action action to v2.58.21 (#534)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-24 18:58:50 +08:00
renovate[bot] e81f8cef6a chore(deps): update dependency uv to v0.8.13 (#533)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-24 18:58:24 +08:00
Jo eaddb365f5 Add a renovate rule to bump bundled uv version (#528)
* Add a renovate rule to bump bundled uv version

* Use custom manager
2025-08-24 18:49:37 +08:00