Skip to content

New aliases for pre-commit language: system config #1149

@nathanjmcdougall

Description

@nathanjmcdougall

See discussion here

pre-commit/pre-commit#3577

j178/prek#1070

This is an especially difficult deprecation to deal with, because the new aliases are only available for v4.4.0. Usethis will need to use some sort of method to infer the pre-commit version. There's multiple places we can look for this:

  • The pre-commit --version command, outputting in the format pre-commit 4.4.0
  • The minimum supported version field in the YAML config
  • Any pyproject.toml/dependency declaration for the lower bound
  • Any lockfile

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions