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

15 Commits

Author SHA1 Message Date
Jo
e4f642c912 Use mise for tools and tasks (#558)
* .

* Migrate more
2025-08-26 23:36:47 +08:00
Jo
c5fb6ec7f6 Support PEP 723 scripts for Python hooks (#529)
* Support PEP723 scripts for local Python hooks

Fix

Debug windows

debug

Fix

# Conflicts:
#	tests/languages/python.rs

* Fix
2025-08-25 17:07:48 +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
Miao
79fa466406 Make error message handling in tests more robust (#403)
* Make error message handling in tests more robust

* Check node versions more reliably
2025-08-09 00:44:51 +08:00
Jo
7bd667e0c1 Improve language tests (#382)
* Exclude `go`/`node` from PATH when running tests

* Improve language tests
2025-08-07 16:17:22 +08:00
Jo
7bc0a164ed Support python311 as a valid language version (#321) 2025-08-03 12:29:19 +08:00
Jo
172abf4d59 Improve error message for hook installation and run (#310) 2025-08-02 19:35:21 +08:00
Jo
c7641c41e5 Improve error message for hook (#308)
* .

* Improve error message for hook

* Improve

* Add test

* Fix

* Fix
2025-08-02 18:44:59 +08:00
Jo
7b8576e4df Move local_need_install test to python (#297) 2025-08-02 01:53:01 +08:00
Jo
c28ca26c47 Try default uv managed python first, fallback to download (#291)
* .

* Try default uv managed python first, fallback to download

* Fix
2025-08-01 12:07:33 +08:00
Jo
6c205b2270 Add asserts to tests (#283)
* Add asserts to tests

* Fix

* Debug

* Use a old python 3.12 that github action does not installed
2025-08-01 02:09:52 +08:00
Jo
b9acf150d1 Support downloading requested Python version automatically (#281)
* Support auto download requested Python version

* Add test

* Fix

* Fix windows test
2025-08-01 00:27:02 +08:00
Jo
a7fb956ec4 Remove LanguagePreference and improve language check (#277) 2025-07-31 20:16:27 +08:00
Jo
152c8d51d1 Fix python version matching (#275)
* Minor improvements to tests

* fix python version match

* Improve
2025-07-30 14:27:51 +08:00
Jo
73493aa6ff Implement language specific version parsing (#273)
* Implement language specific version parsing

* Fix test

* Add tests
2025-07-29 22:36:31 +08:00