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

790 Commits

Author SHA1 Message Date
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
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