Skip to content

Warning deprecated stage with pre-commit v4 #2294

Open
@Rotzbua

Description

Problem

V4 of pre-commit deprecated some stages.
https://github.com/pre-commit/pre-commit/releases/tag/v4.0.0

Warning output

[INFO] Initializing environment for https://github.com/pycqa/isort.
[WARNING] repo `[https://github.com/pycqa/isort`](https://github.com/pycqa/isort%60) uses deprecated stage names (commit, merge-commit, push) which will be removed in a future version.  Hint: often `pre-commit autoupdate --repo [https://github.com/pycqa/isort`](https://github.com/pycqa/isort%60) will fix this.  if it does not -- consider reporting an issue to that repo.

Reference

pre-commit/pre-commit#2732

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions