Skip to content

Handle prek's extension to (default_)language_version - #2413

Merged
woodruffw merged 2 commits into
mainfrom
ww/fix-2411
Sep 28, 2026
Merged

woodruffw merged 2 commits into
mainfrom
ww/fix-2411

Conversation

@woodruffw

Copy link
Copy Markdown
Member

Fixes #2411 (and #2412).

This addresses a gap in pre-commit-models around another prek extension: unlike pre-commit (which expects just bare string values here), prek allows each language_version to be a map that expresses both the version request and a toolchain preference for how to satisfy that request.

@woodruffw woodruffw added bugfix Fixes a known bug plat:pre-commit labels Sep 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix Fixes a known bug plat:pre-commit

Projects

None yet

1 participant