Jo
0adb26401d
Add a global --log-file flag to specify the log file path ( #817 )
2025-09-29 16:30:48 +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
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
a95a3d0912
Deduplicate docs between README and MkDocs site ( #792 )
2025-09-25 11:28:29 +08:00
Jo
cd3a934d9d
Clarify built-in hooks activation conditions and behavior ( #781 )
2025-09-22 17:12:54 +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
Aarni Koskela
de9107f2bd
Add and use a smaller webp version of logo ( #758 )
2025-09-18 21:39:06 +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 )
2025-09-15 23:01:14 +08:00
Jo
65c29da7b6
Update some docs ( #745 )
...
* .
* Improve some docs
2025-09-15 15:59:13 +08:00
Jo
8697098dee
Update benchmarks ( #728 )
2025-09-14 13:31:32 +08:00
arielle
240063c4af
Fix typo in language-version to language_version ( #727 )
...
Checking the pre-commit documentation and the source code of prek will reveal that this is named language_version rather than language-version.
It's a tiny nit but a little confusing otherwise
2025-09-14 13:29:16 +08:00
Jo
e3eeb39fd1
Bump version to 0.2.0 ( #726 )
2025-09-14 12:43:16 +08:00
Jo
98e0b71a61
Bump version to 0.2.0-alpha.5 ( #711 )
2025-09-11 10:52:26 +08:00
Kushagra Udai
4b89c003f2
Add built in byte-order-marker fixer ( #700 )
...
* Add built in byte-order-marker fixer
* fmt
* feedback
* fmt
2025-09-11 10:39:42 +08:00
Jo
6f0a7da41b
Generate cli reference ( #707 )
...
* Generate cli reference
* Fix lint
2025-09-10 22:05:05 +08:00
Jo
cbddcb9fb6
Add docs about configuration ( #703 )
2025-09-10 15:45:52 +08:00
Jo
2ebf0084fa
Add docs about debugging ( #702 )
2025-09-10 15:16:34 +08:00
Jo
d3825a1fad
Bump version to 0.2.0-alpha.4 ( #696 )
...
* Revert "Remove setup-dev-drive from Windows CI (#674 )"
This reverts commit f3111a4d29 .
* Bump version to 0.2.0-alpha.4
2025-09-10 00:44:20 +08:00
Jo
7fc8d4588d
Add docs about TODOs ( #679 )
2025-09-09 14:46:20 +08:00
Jo
cd2cb80c9f
Add docs about builtin hooks ( #678 )
2025-09-09 11:59:43 +08:00
Jo
2a67f7ce5a
Ignore config file from hidden directory ( #677 )
2025-09-08 20:23:16 +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
Jo
d5f2d6b303
Bump version to 0.2.0-alpha.3 ( #671 )
2025-09-08 15:21:24 +08:00
Jo
9fcc878a67
Update installer link
2025-09-07 16:22:43 +08:00
Jo
2ad6d1b2da
Bump version to 0.2.0-alpha.1 ( #640 )
...
* Bump version to 0.2.0a1
* Fix version regex
* Update doc
2025-09-07 15:24:27 +08:00
Jo
3dfab69c1d
Cache workspace discovery result ( #636 )
...
* Cache workspace discovery result
* Add `--refresh` to refresh cached data
* Add docs about workspace cache
2025-09-07 00:26:38 +08:00
Hugo van Kemenade
6cd06f5f8a
Docs: .pre-commit-config.yml support has been removed ( #630 )
2025-09-06 20:19:36 +08:00
Jo
5cbdeecccb
Publish docs ( #627 )
2025-09-06 18:08:56 +08:00
Jo
bf663fb83f
Rename BENCHMARK.md to benchmark.md
2025-09-06 16:46:44 +08:00
Jo
e9fc08bc6b
Implement project and hook selector ( #623 )
...
* selection
* .
* complete
* rewrite
* Fix
* Fix docs
* Update doc
* Fix single config mode
* Improve
* Fix doc
* Fixes and tweaks
* Fix tests
* Fixes and tests
* Use path clean instead of canonicalized
2025-09-06 16:44:22 +08:00
Jo
18f205f044
Improve workspace docs about skips rule ( #615 )
2025-09-06 16:44:22 +08:00
Jo
dadc033948
Update workspace design doc ( #613 )
2025-09-06 16:44:22 +08:00
Jo
61c364b65c
Add design about Project and Hook Selection ( #612 )
2025-09-06 16:44:22 +08:00
Jo
055e493fac
Support prek install|install-hooks|hook-impl|init-template-dir in workspace mode ( #595 )
...
* Support `prek install|install-hooks|hook-impl|init-template-dir` in workspace mode
* Fix
* Fix windows
# Conflicts:
# src/cli/hook_impl.rs
# tests/hook_impl.rs
# Conflicts:
# src/cli/install.rs
2025-09-06 16:44:22 +08:00
Jo
8d644ef337
Fix config not staged relative filename display ( #585 )
...
* .
* Fix config not staged relative filename display
2025-09-06 16:44:22 +08:00
Jo
bb469d38bb
Add an full example and update docs ( #582 )
2025-09-06 16:44:22 +08:00
Jo
f089db0699
Add prek run --cd <dir> to change directory before running ( #581 )
2025-09-06 16:44:22 +08:00
Jo
a5a1b3b2b0
Support multiple .pre-commit-config.yaml in a workspace (monorepo mode) ( #481 )
...
* Remove color from trace log
Since `tracing-subscriber 0.3.20`, ANSI codes will be escaped so that color can not be shown in log. 4c52ca5266
* Refactor project constructure
# Conflicts:
# src/cli/run/run.rs
* .
# Conflicts:
# src/workspace.rs
# Conflicts:
# src/workspace.rs
# Conflicts:
# src/workspace.rs
.
# Conflicts:
# src/git.rs
# Conflicts:
# src/git.rs
# Conflicts:
# src/git.rs
# src/languages/script.rs
Support multiple `.pre-commit-connfig.yaml` in a workspace (monorepo mode)
.
.
Make it compile
Fix
.
.
.
Fix
Fix
Fix
.
.
.
# Conflicts:
# src/builtin/pre_commit_hooks/fix_trailing_whitespace.rs
# src/builtin/pre_commit_hooks/mod.rs
# src/hook.rs
# src/languages/docker.rs
# src/languages/docker_image.rs
# src/languages/golang/golang.rs
# src/languages/node/node.rs
# src/languages/python/python.rs
# src/languages/system.rs
# src/run.rs
* Refactor
* Fix
* .
* Fix `--config FILE`
* Add docs
* Misc
* Fix
# Conflicts:
# README.md
2025-09-06 16:44:22 +08:00
Jo
ff55ad166e
Move some files into docs subdirectory ( #554 )
2025-08-26 21:49:01 +08:00