Bump prek from 0.3.0 to 0.3.2
Type: Pull Request
State: Open
Association: Unknown
Comments: 4
(4 months ago)
(4 months ago)
dependencies python:uv
Bumps prek from 0.3.0 to 0.3.2.
Release notes
Sourced from prek's releases.
0.3.2
Release Notes
Released on 2026-02-06.
Highlights
prek.tomlis here!You can now use
prek.tomlas an alternative to.pre-commit-config.yamlfor configuring prek.prek.tomlmirrors the structure of.pre-commit-config.yaml, but TOML is less error-prone. Your existing.pre-commit-config.yamlwill continue to work, but for new users and new projects,prek.tomlmay make more sense. If you want to switch, runprek util yaml-to-tomlto convert YAML configs toprek.toml. See configuration docs for details.For example, this config:
repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v6.0.0 hooks: - id: check-yamlCan be written as
prek.tomllike this:[[repos]] repo = "https://github.com/pre-commit/pre-commit-hooks" rev = "v6.0.0" hooks = [ { id = "check-yaml" } ]
serde-yamlhas been replaced withserde-saphyrWe replaced the long-deprecated
serde-yamlcrate withserde-saphyrfor YAML parsing. It is written in safe Rust and has better error messages, performance, and security. This lets us provide precise location information for configuration parsing errors, which should make it easier to fix config issues.For example, this invalid config:
repos: - repo: https://github.com/crate-ci/typos hooks: - id: typosBefore:
$ prek run error: Failed to parse `.pre-commit-config.yaml` caused by: Invalid remote repo: missing field `rev`
... (truncated)
Changelog
Sourced from prek's changelog.
0.3.2
Released on 2026-02-06.
Highlights
prek.tomlis here!You can now use
prek.tomlas an alternative to.pre-commit-config.yamlfor configuring prek.prek.tomlmirrors the structure of.pre-commit-config.yaml, but TOML is less error-prone. Your existing.pre-commit-config.yamlwill continue to work, but for new users and new projects,prek.tomlmay make more sense. If you want to switch, runprek util yaml-to-tomlto convert YAML configs toprek.toml. See configuration docs for details.For example, this config:
repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v6.0.0 hooks: - id: check-yamlCan be written as
prek.tomllike this:[[repos]] repo = "https://github.com/pre-commit/pre-commit-hooks" rev = "v6.0.0" hooks = [ { id = "check-yaml" } ]
serde-yamlhas been replaced withserde-saphyrWe replaced the long-deprecated
serde-yamlcrate withserde-saphyrfor YAML parsing. It is written in safe Rust and has better error messages, performance, and security. This lets us provide precise location information for configuration parsing errors, which should make it easier to fix config issues.For example, this invalid config:
repos: - repo: https://github.com/crate-ci/typos hooks: - id: typosBefore:
$ prek run error: Failed to parse `.pre-commit-config.yaml` caused by: Invalid remote repo: missing field `rev`
... (truncated)
Commits
71790f3Bump version to 0.3.2 (#1587)9172278Use semver fallback sort when tag timestamps are equal (#1579)294325cRemove emoji in README.md (#1589)dc7d09dRemove upper bound constraintof uv version (#1588)72a78eeDo not make the child a session leader (#1586)3fa9187Addprek util yaml-to-tomlto convert.pre-commit-config.yamlto `prek.to...2314871Bump the supported uv version upper limit to0.11.0(#1580)4ff825eIncludeprek.tomlin run hint for config filename (#1578)b516d66Update quick start to useprek.toml(#1576)60eb3f4Document that use--refreshto pick up.prekignorechanges (#1575)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Package Dependencies
Technical Details
| ID: | 13827309 |
| UUID: | 3908661059 |
| Node ID: | PR_kwDODM87vM7CGFI6 |
| Host: | GitHub |
| Repository: | VWS-Python/vws-cli |