Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning deprecated stage with pre-commit v4 #2294

Open
Rotzbua opened this issue Oct 6, 2024 · 0 comments
Open

Warning deprecated stage with pre-commit v4 #2294

Rotzbua opened this issue Oct 6, 2024 · 0 comments

Comments

@Rotzbua
Copy link

Rotzbua commented Oct 6, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant