Implemetation: - [x] https://github.com/j178/prek/commit/750cfbc7f3d72a7175487d232f68f02c0f0bdaf5 - [x] https://github.com/j178/prek/pull/1546 - [x] https://github.com/j178/prek/pull/1547 - [x] https://github.com/j178/prek/pull/1549 - [x] https://github.com/j178/prek/pull/1560 - [x] https://github.com/j178/prek/pull/1576 - [x] https://github.com/j178/prek/pull/1578 - [x] https://github.com/j178/prek/pull/1584 Ecosystem upgrades: - [x] Submit schema for `prek.toml` to SchemaStore: https://github.com/SchemaStore/schemastore/pull/5345 - [x] Add `prek.toml` to `prek-action` cache-key: https://github.com/j178/prek-action/pull/65 - [x] Release new version of `prek` - [x] Release new version of `prek-action` - [ ] Replace `.pre-commit-config.yaml` with `prek.toml` in `prek` and `prek-action` after release: https://github.com/j178/prek-action/pull/67 - [ ] Renovate support for `prek.toml`: https://github.com/renovatebot/renovate/discussions/40967 Related: - [x] The original request for `prek.yaml`: https://github.com/j178/prek/issues/593 - [ ] Discussion about support configuration in `pyproject.toml` and `Cargo.toml`: https://github.com/j178/prek/issues/785
Implemetation:
prek sample-config --format toml#1546prek.tomlinauto-update#1547prek.tomlin try-repo #1549prek.toml#1560prek.toml#1576prek.tomlin run hint for config filename #1578prek util yaml-to-tomlto convert.pre-commit-config.yamltoprek.toml#1584Ecosystem upgrades:
prek.tomlto SchemaStore: Add schema forprekSchemaStore/schemastore#5345prek.tomltoprek-actioncache-key: feat: support prek.toml and .pre-commit-config.yml in cache key prek-action#65prekprek-action.pre-commit-config.yamlwithprek.tomlinprekandprek-actionafter release: chore: replace .pre-commit-config.yaml with prek.toml prek-action#67prek.toml: New package manager request: prek renovatebot/renovate#40967Related:
prek.yaml: Supportprek.{yaml/toml}? #593pyproject.tomlandCargo.toml: Supprtpyproject.tomlbased config #785