Jo
45882a6c0e
Bump version to 0.2.7 ( #877 )
2025-10-14 14:24:03 +08:00
Jo
56da9ad94e
Fix npm publish ( #876 )
2025-10-14 14:17:09 +08:00
Jo
2a226a3d13
Bump version to 0.2.6 ( #875 )
2025-10-14 13:16:49 +08:00
Colin Dean
0d91f4c39e
Add Nix and Conda installation details ( #874 )
...
* Update README with Nix and Conda installation details
Progress toward #805
* Update docs/installation.md
---------
Co-authored-by: Jo <10510431+j178@users.noreply.github.com >
2025-10-14 11:50:05 +08:00
yihong
373b0f1607
Support YAML merge keys in .pre-commit-config.yaml ( #871 )
...
* fix: close issue #870 by merge and ignore the config
Signed-off-by: yihong0618 <zouzou0208@gmail.com >
* Tweak
---------
Signed-off-by: yihong0618 <zouzou0208@gmail.com >
Co-authored-by: Jo <10510431+j178@users.noreply.github.com >
2025-10-14 11:25:37 +08:00
Álvaro Mondéjar Rubio
ff3a6746ff
Publish prek to npmjs.com ( #819 )
...
* Publish prek to npmjs.com
* Add some docs
* Fix error in README
* Put installation after cargo in README
* Update docs
* Update integration
* Minor change
* Minor change
* Use `@j178/prek`
* Use cargo-dist generated npm package
---------
Co-authored-by: Jo <10510431+j178@users.noreply.github.com >
2025-10-13 23:30:50 +08:00
Jo
442d88d7d7
Use relative path with --cd in the generated hook script ( #868 )
...
* Use relative path with `--cd` in generated hook script
Use a relative path with `--cd` in the generated hook script to avoid switching to the original worktree.
Also, unset `GIT_DIR` in the hook script so git doesn’t treat the current directory (after the cd) as the git root.
* Fix snapshots
* Add tests
2025-10-13 21:42:02 +08:00
Benjamin Bannier
ee7110b49b
Fix autoupdate rev rendering for "float-like" version numbers ( #867 )
...
A version number could look like a float, e.g., 0.49 is a valid version
number. Serde YAML serialization already renders such version numbers in
quotes so types match the expectation. When doing an autoupdate we were
explicitly adding more quotes if they were present in the input. This
could have caused incorrect quoting if existing quoting clashed with
serde's quoting style, e.g., if `"` where used but serde defaulted to
quoting with `'`.
This patch removes any extra quoting here and fully defers to serde.
Closes #866 .
2025-10-11 18:27:48 +08:00
Jo
33864f24bc
Bump version to 0.2.5 ( #864 )
v0.2.5
2025-10-10 22:11:13 +08:00
Luiz Otavio Vilas Boas Oliveira
74cb495dea
Implement prek try-repo ( #797 )
...
* Add try_repo logic and tests (WIP)
* Remove unnecessary mut
* Fix clippy issues
* Add unit test
* Update snapshots
* Update docs
* Update unit test
* WIP
* Update snapshots
* Lint
* Add extra filters to try_repo tests
* Lint
* Update unit tests
* Apply Josh's suggestions
* Fix arg name
* .
* Fix
* Fix
* Generate
* Fix snapshot
* Improve coverage
---------
Co-authored-by: Jo <10510431+j178@users.noreply.github.com >
2025-10-10 21:11:31 +08:00
Jo
58d9faeec2
Remove global STORE instance ( #863 )
2025-10-10 19:32:01 +08:00
Jo
c5be21a5b3
Use issue form for bug report template ( #862 )
2025-10-10 16:27:28 +08:00
Jo
9a4fb2be88
Ignore config error if the directory is skipped ( #860 )
...
* Ignore config error if the directory is skipped
* Add test
2025-10-09 19:58:31 +08:00
Jo
7edf287422
Fix panic when parse config failed ( #859 )
2025-10-09 18:57:44 +08:00
Jo
2cedd6e15d
Set minimum host requirements for code spaces
2025-10-09 10:14:06 +00:00
Jo
d8ee5c3ac9
Add a bug report template ( #857 )
...
* Add a bug report template
* Update
2025-10-09 16:09:09 +08:00
Jo
181e32dd35
Downgrade Rust image version to booksworm in devcontainer.json ( #856 )
...
> 0.656 (!) The 'moby' option is not supported on Debian 'trixie' because 'moby-cli' and related system packages have been removed from that distribution.
0.656 (!) To continue, either set the feature option '"moby": false' or use a different base image (for example: 'debian:bookworm' or 'ubuntu-24.04').
0.656 ERROR: Feature "Docker (docker-outside-of-docker)" (ghcr.io/devcontainers/features/docker-outside-of-docker) failed to install! Look at the documentation at ********/devcontainers/features/tree/main/src/docker-outside-of-docker for help troubleshooting this error.
2025-10-09 15:34:01 +08:00
Jo
3cdc0339f3
Update Rust image version in devcontainer.json ( #855 )
2025-10-09 15:02:20 +08:00
Jo
9d46003cdb
Add a Dockerfile ( #852 )
2025-10-08 13:59:23 +08:00
renovate[bot]
3932e0766d
Update dependency uv to v0.9.0 ( #840 )
2025-10-08 13:28:44 +08:00
renovate[bot]
8888963ecc
Update pre-commit hook pycqa/isort to v6.1.0 ( #845 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-08 12:57:01 +08:00
renovate[bot]
1d9aa8eada
Update pre-commit hook crate-ci/typos to v1.38.1 ( #844 )
2025-10-08 12:45:55 +08:00
Jo
7ccee511f1
Add fallback mechanism for prek executable in git hooks ( #850 )
...
* Add fallback mechanism for prek executable in git hooks
* Fix
2025-10-08 02:52:09 +08:00
Jo
db190aa649
Update renovate config ( #849 )
2025-10-07 21:16:43 +08:00
Jo
38ea52040d
Bump version to 0.2.4 ( #848 )
v0.2.4
2025-10-07 16:59:27 +08:00
Jo
7a17c4b677
Improve install message when installing for a sub-project ( #847 )
...
* Improve install message when installing for a sub-project
* Fix tests
2025-10-07 16:47:42 +08:00
Jo
ade96745d5
Add a trace log when running builtin hook ( #846 )
2025-10-07 16:22:56 +08:00
renovate[bot]
9af102ae28
Update j178/prek-action action to v1.0.11 ( #841 )
2025-10-06 09:53:56 +08:00
Jo
ad0441e76c
Convert extension to lowercase before checking file tags ( #839 )
2025-10-06 01:49:37 +08:00
Jo
b40a01c8f7
Optimize is_text_file ( #838 )
2025-10-06 01:28:29 +08:00
Jo
6c0cd3b7c8
Make prek auto-update --jobs default to 0 (which uses max available parallelism) ( #833 )
2025-10-01 23:03:56 +08:00
Jo
0dd84cd620
Improve language version download tests ( #832 )
2025-10-01 22:31:57 +08:00
Nyakku Shigure
88b1e796cd
Allow run --files with zero args ( #831 )
2025-10-01 21:22:54 +08:00
renovate[bot]
1b86879736
Update j178/prek-action action to v1.0.10 ( #830 )
2025-10-01 20:05:32 +08:00
Nyakku Shigure
7b8cb627bd
Support pass multiple files like prek run --files a b c d ( #828 )
2025-10-01 19:32:27 +08:00
Jo
1e9ccf01f4
Build s390x binary on stable again ( #827 )
2025-10-01 18:36:14 +08:00
Jo
59960410fa
Add support for .prekignore to ignore directories from project discovery ( #826 )
2025-10-01 18:15:10 +08:00
Jo
0071a37f5e
Add requests-cache to "Who is using prek" ( #824 )
2025-10-01 18:05:11 +08:00
Jo
5d32b2fe0e
Use prek-action in CI lint job ( #822 )
2025-09-30 17:41:12 +08:00
renovate[bot]
d4e9e2d152
Update dependency uv to v0.8.22 ( #813 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-30 16:13:55 +08:00
Jo
9f62ec9cf9
Improve some trace log ( #820 )
2025-09-30 15:56:32 +08:00
dependabot[bot]
7678e623ab
Bump mkdocs-include-markdown-plugin from 7.1.7 to 7.1.8 in /docs ( #821 )
...
Bumps [mkdocs-include-markdown-plugin](https://github.com/mondeja/mkdocs-include-markdown-plugin ) from 7.1.7 to 7.1.8.
- [Release notes](https://github.com/mondeja/mkdocs-include-markdown-plugin/releases )
- [Commits](https://github.com/mondeja/mkdocs-include-markdown-plugin/compare/v7.1.7...v7.1.8 )
---
updated-dependencies:
- dependency-name: mkdocs-include-markdown-plugin
dependency-version: 7.1.8
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-30 15:56:17 +08:00
Jo
7fe75a86da
Bump version to 0.2.3 ( #818 )
v0.2.3
2025-09-29 16:48:36 +08:00
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