1
0
mirror of https://github.com/j178/prek.git synced 2026-04-03 17:34:03 +02:00
Commit Graph

761 Commits

Author SHA1 Message Date
Jo
0adb26401d Add a global --log-file flag to specify the log file path (#817) 2025-09-29 16:30:48 +08:00
Jo
8392fcb08a Add a codecov configuration (#816) 2025-09-29 12:02:01 +08:00
Jo
1c425e43ad Implement hook health check (#798)
* Implement hook health check

* Add node health check

* Add health check for pygrep

* Add test
2025-09-29 10:47:14 +08:00
renovate[bot]
876f2b912d Update taiki-e/install-action action to v2.62.12 (#815)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-29 10:46:13 +08:00
renovate[bot]
de13ec729d Update pre-commit hook crate-ci/typos to v1.36.3 (#814)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-29 10:44:54 +08:00
Jo
7402b1e774 Write fail entry into output directly (#811) 2025-09-28 17:35:30 +08:00
Jo
7551dab631 Update docs about uv in prek (#810) 2025-09-28 17:20:10 +08:00
Jo
17e3629be1 Update document (#809) 2025-09-28 17:08:11 +08:00
Jo
92ca7298ec Simplify README and index page (#808) 2025-09-28 16:59:12 +08:00
Jo
d7c39b5733 Show error message in quiet mode (#807)
* Show error message in quiet mode

In quiet mode (`-q`), error messages will still be printed.
In silent mode (`-qq`), nothing gets printed.

* Generate cli doc

* Add test
2025-09-28 13:50:16 +08:00
Jo
d0f7c4d6b0 Add --dry-run to prek auto-update (#806) 2025-09-28 12:06:44 +08:00
renovate[bot]
1ec4d32fe9 Update pre-commit (examples) (#741)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-27 21:24:32 +08:00
Álvaro Mondéjar Rubio
084386e8ce Add a security policy for reporting vulnerabilities (#804) 2025-09-27 21:20:34 +08:00
Jo
eef84cf8c5 Bump version to 0.2.2 (#802) v0.2.2 2025-09-26 22:56:32 +08:00
Álvaro Mondéjar Rubio
921e543a5f Fix interpreter identification (#801) 2025-09-26 21:26:01 +08:00
Jo
df852e914a Add a hint when hooks failed in CI (#800)
* .

* Add a hint when hooks failed in CI

* Fix tests
2025-09-26 13:27:55 +08:00
Jo
04bb76fcb4 Add prek cache dir, move prek gc and prek clean under prek cache (#795)
`prek gc` and `prek clean` are still available but hidden.
2025-09-25 13:36:41 +08:00
Álvaro Mondéjar Rubio
cc646e8eda Fix links and warning format in README (#794)
* Fix links in README

* Fix line wrapping in warning

* Update warning message formatting in README
2025-09-25 13:31:25 +08:00
Jo
0ca8e7eca3 Add PaperQA2 to "Who is using prek" (#793) 2025-09-25 11:42:26 +08:00
Jo
0ab6cdf645 Run docker container with --init (#791) 2025-09-25 11:29:47 +08:00
Álvaro Mondéjar Rubio
a95a3d0912 Deduplicate docs between README and MkDocs site (#792) 2025-09-25 11:28:29 +08:00
Jo
c2d611d9ac Support --allow-multiple-documents for check-yaml (#790) 2025-09-24 13:57:59 +08:00
Jo
63fc5fc8da Improve arg parsing for builtin hooks (#789)
* Improve arg parsing for builtin hooks

* Fix tests
2025-09-24 13:36:30 +08:00
renovate[bot]
a906d48a9c Update Rust crate astral-tokio-tar to v0.5.4 [SECURITY] (#788) 2025-09-24 07:27:19 +08:00
renovate[bot]
6595f7bcad Update dependency uv to v0.8.19 (#768) 2025-09-22 19:34:24 +08:00
Jo
cd3a934d9d Clarify built-in hooks activation conditions and behavior (#781) 2025-09-22 17:12:54 +08:00
renovate[bot]
64afa98029 Update Rust crate anyhow to v1.0.100 (#769)
* Update Rust crate anyhow to v1.0.100

* Lint

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jo <10510431+j178@users.noreply.github.com>
2025-09-22 14:31:33 +08:00
Jo
53cd4525d0 Use fs-err wrapper for File::lock (#779) 2025-09-22 13:23:19 +08:00
renovate[bot]
b924bb5920 Update Rust crate fancy-regex to v0.16.2 (#772)
* Update Rust crate fancy-regex to v0.16.2

* Update snapshot

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jo <10510431+j178@users.noreply.github.com>
2025-09-22 13:12:51 +08:00
renovate[bot]
63cc07c53d Update taiki-e/install-action action to v2.62.1 (#778)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-22 11:03:52 +08:00
renovate[bot]
3626607268 Update Rust crate clap to v4.5.48 (#770) 2025-09-22 10:35:24 +08:00
renovate[bot]
ff987a1f00 Update Rust crate clap_complete to v4.5.58 (#771) 2025-09-22 10:35:12 +08:00
renovate[bot]
db21969fad Update Rust crate toml to v0.9.7 (#776) 2025-09-22 10:34:33 +08:00
renovate[bot]
b61ebaba68 Update Swatinem/rust-cache action to v2.8.1 (#777) 2025-09-22 10:33:57 +08:00
renovate[bot]
29ce978b67 Update Rust crate fs-err to v3.1.2 (#773) 2025-09-22 09:30:11 +08:00
renovate[bot]
d52869242b Update Rust crate serde to v1.0.226 (#774) 2025-09-22 09:29:54 +08:00
renovate[bot]
ce58964f63 Update Rust crate serde_stacker to v0.1.14 (#775) 2025-09-22 09:28:44 +08:00
Jo
0ba14e2f1d Add support for specifying PREK_UV_SOURCE (#766)
* Add support for specifying `PREK_UV_SOURCE`

* Fix

* Improve

* debug

* Fix
2025-09-20 18:24:35 +08:00
Jo
45741797bd Add windows code cov (#764) 2025-09-20 00:13:37 +08:00
Jo
4c0eb8337c Remove some unused code (#763) 2025-09-19 23:54:13 +08:00
Jo
9298e0b49e Bump pre-commit-hooks in sample-config to v6.0.0 (#761) 2025-09-19 23:36:15 +08:00
Jo
a2d227e305 Revert "Block SIGCHLD signal when spawning process (#756)" (#762)
This reverts commit d0ec15bbb3.
2025-09-19 23:30:57 +08:00
Jo
e78b46cc46 Bump rust toolchain to 1.90 (#760) 2025-09-19 22:59:01 +08:00
Aarni Koskela
de9107f2bd Add and use a smaller webp version of logo (#758) 2025-09-18 21:39:06 +08:00
arielle
ebf5b54568 Update Changelog URL to use 'master' branch (#757) 2025-09-17 12:49:36 +08:00
Lemon
d0ec15bbb3 Block SIGCHLD signal when spawning process (#756)
* fix: rare race condition

* Tweak

---------

Co-authored-by: Jo <10510431+j178@users.noreply.github.com>
2025-09-17 11:14:16 +08:00
Jo
b638800539 Add j178/prek-action to README (#754) 2025-09-16 16:27:40 +08:00
Jo
84da002275 Mention j178/prek-action in docs (#753)
Huge thanks to @frostming for creating prek-action and for generously handing it over to me!
2025-09-16 15:47:35 +08:00
Jo
224d7e6dae Bump version to 0.2.1 (#749) v0.2.1 2025-09-15 23:01:14 +08:00
Matthias Kestenholz
345fb7528a Use concurrent read and write in git check-attr (#731)
* Fix #730: The 'git check-attr' step should use chunked data in large repositories

* Remove the tests from the git.rs module, clippy doesn't like them there

* Remove a superfluous newline

* Remove the redundant error check

* Tweak

---------

Co-authored-by: Jo <10510431+j178@users.noreply.github.com>
2025-09-15 21:37:24 +08:00