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

1204 Commits

Author SHA1 Message Date
Jo c1930b2b13 Add test for hook id completion (#532)
* Add test for hook id completion

* ignore windows
2025-08-24 18:33:58 +08:00
Jo a0019ca9ee Fix Python hook stderr are not captured (#530)
* Fix that Python hook stderr are not captured

* Fix windows
2025-08-22 15:35:13 +08:00
Jo 55f0e087ef Add an error context when reading manifest failed (#527)
* Add an error context when reading manifest failed

* Improve
2025-08-21 14:36:04 +08:00
Jo e072d4f67d Bump version to 0.1.2 (#526) v0.1.2 2025-08-21 12:04:53 +08:00
Jo d19ad4fbce Fix language: script entry join issue (#525) 2025-08-21 11:40:00 +08:00
Maciej Obuchowski 68eb8ae210 Add OpenLineage to prek users (#523) 2025-08-20 23:26:27 +08:00
Jo 7e080ddaeb Add check for missing hooks in new revision (#521) 2025-08-20 20:42:50 +08:00
Jo cdd2319b60 Bump version to 0.1.1 (#519) v0.1.1 2025-08-20 19:17:49 +08:00
Géraud Le Falher 9fa5b5f615 Fix github release link in README.md (#520) 2025-08-20 19:17:15 +08:00
Jo ca87604298 Fix builds on s390x (#518) 2025-08-20 19:11:36 +08:00
Jo 665bb8116d Bump version to 0.1.0 (#515) 2025-08-20 18:41:13 +08:00
Jo d01a960b44 Disable building for s390x temporarily (#516) 2025-08-20 18:32:31 +08:00
Jo 8e230b1141 Implement prek auto-update (#511)
* .

* Implement `pre auto-update`

* .

* Add tests

* Windows

* Update tests
2025-08-20 18:17:40 +08:00
Luiz Otavio Vilas Boas Oliveira e5b2375fe7 Add moving rev warning (#488)
* Warn user when revs are found

* Lint

* Update test snapshots

* Fix snapshot

* Tweak message

* Update tests

* fix tests

---------

Co-authored-by: Jo <10510431+j178@users.noreply.github.com>
2025-08-20 18:14:55 +08:00
Jo 2bfb1491ed Support local path as a repo url (#513)
* Make `repo` a plain string

* Minor
2025-08-20 18:01:09 +08:00
renovate[bot] 1197398250 chore(deps): update pre-commit hook pre-commit/pre-commit-hooks to v6 (#514)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-20 17:49:35 +08:00
Jo 3794c9f71e chore(deps): update taiki-e/install-action action to v2.58.17 (#512)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-20 17:32:19 +08:00
Henry Zhang 8f21bfdf64 docs: install prek with mise (#510) 2025-08-19 22:56:05 +08:00
Jo fb136dd0d2 Fix rename tempfile across device (#508)
* Fix rename tempfile across device

* Simplify
2025-08-19 21:03:05 +08:00
Jo 2fca955c38 Fix stack overflow when checking deeply nested json (#507) 2025-08-19 20:38:48 +08:00
renovate[bot] f44b11094b Pin dependencies (#497)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-19 17:31:31 +08:00
renovate[bot] dc5616f971 Update actions/setup-node action to v4.4.0 (#499)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-19 16:21:39 +08:00
renovate[bot] ea82a42298 Update actions/setup-go action to v5.5.0 (#498)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-19 16:21:23 +08:00
renovate[bot] a99fcee335 Update astral-sh/setup-uv action to v6.5.0 (#501)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-19 16:21:08 +08:00
renovate[bot] b138f358d5 Update Swatinem/rust-cache action to v2.8.0 (#504)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-19 16:20:51 +08:00
renovate[bot] facff247b0 Update PyO3/maturin-action action to v1.49.4 (#503)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-19 16:20:33 +08:00
renovate[bot] 9309b5c7a8 Update pre-commit hook crate-ci/typos to v1.35.5 (#502)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-19 16:20:10 +08:00
renovate[bot] 2c95fc02dd Update actions/upload-artifact action to v4.6.2 (#500)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-19 16:19:23 +08:00
Jo b38cd6bfe6 Update renovate configuration (#496) 2025-08-19 16:12:13 +08:00
renovate[bot] a5f2dfe08a Update actions/checkout action to v5 (#494)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-19 14:03:30 +08:00
renovate[bot] 3b860b09a2 Update actions/download-artifact action to v5 (#495)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-19 14:03:01 +08:00
Jo e9232f1a30 Drop support .yml config file (#493)
* Drop support `.yml` config file

* Fix test
2025-08-19 11:53:55 +08:00
Jo a145633c12 Update README.md 2025-08-19 06:27:41 +08:00
Jo 05b91edca8 Update README.md 2025-08-19 06:03:09 +08:00
Jo 1e5834df61 Update project status 2025-08-19 05:57:56 +08:00
Jo 32174ff029 Bump version to 0.0.29 (#490)
* Bump version to 0.0.29

* Update
v0.0.29
2025-08-18 23:01:02 +08:00
Jo 232f37f26f Build wheels for more platforms (#489)
* Build wheels for more platforms

* Update toolchain
2025-08-18 22:03:00 +08:00
Jo bcb2218d8a Fix git commit -a does not pick up staged files correctly (#487) 2025-08-18 16:16:39 +08:00
Jo f2f7ba0e5a Bump version to 0.0.28 (#485) v0.0.28 2025-08-18 14:48:49 +08:00
Jo 3f1f9e1056 Various fixes to init-templdate-dir and directory related bug (#484)
* various fixes

* Fix tests

* Fix
2025-08-18 14:30:18 +08:00
Jo 3ac5e2beb0 Fix inde.lock file exists error when running git commit -p or git commit -a (#482)
* Fix `inde.lock file exists` error when running `git commit -p` or `git commit -a`

* Add test

* Add tests

* Windows
2025-08-18 11:00:51 +08:00
Jo 6e2a9f4d31 Bump version to 0.0.27 (#480) v0.0.27 2025-08-17 18:12:48 +08:00
Jo b7beed4340 Move GIT_ROOT to a LazyLock (#479) 2025-08-17 13:55:08 +08:00
Jo 7c49a79965 Clone repo temporarily into scratch directory (#478) 2025-08-17 12:15:51 +08:00
Jo 02c79fcc75 Don’t show the progress bar if there’s no need for cloning or installing hooks (#477) 2025-08-17 12:11:33 +08:00
Jo 6f6278f54b Refactor project constructure (#476)
* Refactor project constructure

# Conflicts:
#	src/cli/run/run.rs

* Clean

* Fix tests
2025-08-16 22:45:31 +08:00
Jo f83f9a8668 Resolve script shebang before running (#475)
* Resolve script shebang on Windows

* Fix test

* Simplify node

* Improve
2025-08-16 19:52:52 +08:00
Jo 0a4f7cda9a Adjust sample-config file path before writing (#474) 2025-08-16 13:01:52 +08:00
Jo 321cc2c24a Support language_version: lts for node (#473) 2025-08-16 12:58:26 +08:00
Jo 070db96f41 Bump version to 0.0.26 (#472) v0.0.26 2025-08-16 11:57:11 +08:00