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

206 Commits

Author SHA1 Message Date
Jo
da5ddd8304 Bump version to 0.3.0 2026-01-22 11:49:30 +08:00
Shaan Majid
8d464397e6 Add language: bun support (#1411)
* feat(bun): add Bun language support

* test(bun): add integration tests for Bun language support

Add three integration tests covering the key functionality:
- basic_bun: simple hook execution using bun -e
- additional_dependencies: verify deps installed via bunx cowsay
- language_version: test version specification with language_version: "1"

The additional_dependencies test runs twice to verify health_check and
cache reuse works correctly.

* docs: add Bun to supported languages documentation

- Add Bun to toolchain list in README features section
- Add Bun to managed toolchain downloads list in languages.md
- Add full Bun language section with version format documentation

* ci: add Bun setup to test jobs

* feat(bun): use GITHUB_TOKEN to avoid API rate limits

When listing Bun versions from GitHub releases, use the GITHUB_TOKEN
environment variable if available to authenticate requests. This
increases the rate limit from 60 to 5,000 requests/hour.

GITHUB_TOKEN is automatically set in GitHub Actions workflows.

* fix(bun): use consistent bin_dir path on all platforms

Bun installs global packages to $BUN_INSTALL/bin/ on all platforms,
so bin_dir should always return prefix/bin. The Windows special case
was incorrectly copied from Node (which uses npm's different install
structure).

* Add toolchain download test

* Add tests

---------

Co-authored-by: Jo <10510431+j178@users.noreply.github.com>
2026-01-22 11:05:41 +08:00
Kevin Gimbel
88c3c87954 Move docs to zensical (#1421)
* chore: slight formatting adjustments

* feat: use zensical

* chore: add uv to mise.toml

* docs: update snippets and snippet markers for includes

* chore: add prek to mise.toml; run prek

* fix: use snippet for changelog instead of symlink

Seems Zensical doesn't like symlinks, a snippet gets the same result

* chore: remove commented-out code

* chore: remove commented-out code; run prek
2026-01-20 19:44:15 +08:00
Matthias Schoettle
0784ddfaea Add mdformat pre-commit hook (#1416) 2026-01-20 11:26:37 +08:00
Yazdan Ranjbar
f32d29236c Add commitizen to the list of projects using prek (#1413) 2026-01-20 05:14:03 +08:00
Matthias Schoettle
a01951d129 Fix nested list indent rendering issue (#1414) 2026-01-20 05:09:57 +08:00
Jo
19b9c866bf Update project examples in README.md 2026-01-19 14:01:52 +08:00
Jo
3d562b4f49 Add simple-icons and ast-grep to the users of prek (#1403) 2026-01-19 11:30:33 +08:00
Jo
de647489ea Bump version to 0.2.30 (#1392) 2026-01-18 20:49:58 +08:00
Jo
b7a7becead Bump version to 0.2.29 (#1374) 2026-01-16 19:28:25 +08:00
Ülgen Sarıkavak
328534fc8b Bump actions/checkout version in docs (#1351)
https://github.com/actions/checkout/releases/tag/v6.0.0
2026-01-14 10:54:40 +08:00
Jo
660873cf32 Add home-assistant/core to the users of prek (#1350) 2026-01-13 23:50:18 +08:00
Jo
4b7521bc96 Bump version to 0.2.28 (#1349) 2026-01-13 22:57:14 +08:00
Matthew Mckee
7f396d1ccb Add ty to the users of prek (#1342) 2026-01-13 02:39:16 +08:00
Jo
a591fa6db4 Add ruff to the users of prek (#1334) 2026-01-12 11:25:57 +08:00
Jo
8b1e068c4e Use full logo url in README 2026-01-09 11:52:44 +08:00
Jo
549f3ae299 Remove background from logo (#1322) 2026-01-07 22:45:33 +08:00
Jo
a72a3cc3df Bump version to 0.2.27 (#1321) 2026-01-07 22:14:04 +08:00
Jo
e255e88d37 Bump version to 0.2.26 (#1318) 2026-01-07 20:49:55 +08:00
crayon
b48ee92ac6 Add ZhuoZhuoCrayon/throttled-py to the list of projects using prek (#1298)
Co-authored-by: Jo <10510431+j178@users.noreply.github.com>
2026-01-03 20:19:16 +08:00
Ülgen Sarıkavak
108f5985d1 Add python/cpython to users (#1308) 2026-01-03 20:16:31 +08:00
yihong
68036c6167 docs: add user kimi-cli (#1286)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2025-12-29 10:35:40 +08:00
Jo
1856285aba Bump version to 0.2.25 (#1282)
* Bump version to 0.2.25

* Update JSON schema
2025-12-27 00:36:49 +08:00
Jo
e2459fd1c6 Add fastapi/typer, fastapi/asyncer and django/djangoproject.com to the list of projects using prek (#1275) 2025-12-24 11:17:03 +08:00
Jo
0278b59b76 Bump version to 0.2.24 (#1265) 2025-12-23 11:01:07 +08:00
Jo
5e489814e1 Bump version to 0.2.23 (#1246) 2025-12-20 13:21:53 +08:00
Jo
1c9d1f5618 Implement priority based parallel execution (#1232)
* Support priority-based parallel hook execution

* .

* .

* .

* .

* .

* Implement `priority` based parallel exeuction

* Reduce repeated code

* Add progress for processing files

* Improve sytling

* Tweak UI

* Fix UI

* Update snaps

* Update docs

* Add a test

* Update proposal

* Update crates/prek/src/config.rs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Apply review feedbacks

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-20 12:09:42 +08:00
Jo
917aafd11e Update README.md 2025-12-20 11:13:24 +08:00
Jo
b13cdddcc2 Add FastAPI to the list of projects using prek (#1241) 2025-12-19 21:06:11 +08:00
Jo
70ebd87ed8 Mention prek can be installed viataiki-e/install-action@prek (#1234) 2025-12-17 21:57:16 +08:00
Jo
6d14524326 Bump version to 0.2.22 (#1223) 2025-12-13 20:49:03 +08:00
Jo
c0ef82c8cc Remove CI badge from README.md (#1214) 2025-12-12 13:52:33 +08:00
Jo
6dcab879a8 Bump version to 0.2.21 (#1206) 2025-12-09 13:11:46 +08:00
Jo
adbb89f6a2 Bump version to 0.2.20 (#1199) 2025-12-08 17:14:28 +08:00
Jo
008d3f4d16 Move badge into docs/assets (#1188) 2025-12-04 11:51:30 +08:00
Louis Maddox
3ff564e8bf Add prek: enabled repo badge (#1171)
As requested in https://github.com/j178/prek/issues/1100
2025-12-02 10:57:07 +08:00
Jo
c3b833cd45 Add MacPorts to installation methods (#1157) 2025-11-26 17:35:48 +08:00
Jo
bdc40e36aa Bump version to 0.2.19 (#1156) 2025-11-26 17:14:35 +08:00
Matthias Hörtenhuber
35c2b0ad29 Add nf-core to users list (#1153) 2025-11-26 11:39:03 +08:00
Jo
5c9fce63be Bump version to 0.2.18 (#1132)
* Bump version to 0.2.18

* Add highlights
2025-11-21 20:41:20 +08:00
Jo
3e88436974 Add support repo: builtin (#1118)
* Add support `repo: builtin`

* Add docs

* Fixes

* Skip install for builtin hooks
2025-11-19 17:29:14 +08:00
Wei Lee
d73dfbdaa7 docs: refer airflow as Apache Airflow (#1116) 2025-11-19 12:14:36 +08:00
Jo
5110eb9fc1 Bump version to 0.2.17 (#1114) 2025-11-18 23:04:44 +08:00
Jo
df5068a797 Bump version to 0.2.16 (#1110) 2025-11-18 17:52:07 +08:00
Jo
7e06cffa70 Bump version to 0.2.15-alpha.3 (#1091)
* Fix release

* Bump version to 0.2.15-alpha.3
2025-11-16 19:26:06 +08:00
Jo
bf8dc871e5 Bump version to 0.2.15-alpha.2 (#1090)
* Revert "Bump version to 0.2.15-alpha.1 (#1089)"

This reverts commit 0d0509f4f3.

* Bump

* Bump version to 0.2.15-alpha.2
2025-11-16 18:39:38 +08:00
Jo
0d0509f4f3 Bump version to 0.2.15-alpha.1 (#1089) 2025-11-16 18:07:51 +08:00
Jo
8292d951b8 Prepare for publishing to crates.io (#1088)
* Add descriptions for crates

* Add version

# Conflicts:
#	Cargo.toml

* Add action

* Fix
2025-11-16 17:36:51 +08:00
Jo
30355ea9b4 Bump version to 0.2.14 (#1075) 2025-11-14 23:07:29 +08:00
Jo
dc3d061e44 Add scoop to installation (#1067) 2025-11-12 19:09:02 +08:00