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

docs: Update pre-commit-hooks version to v5.0.0 #1003

Closed

Conversation

kang8
Copy link

@kang8 kang8 commented Dec 31, 2024

When using pre-commit-hooks, I copied the version from the website.. But
when I actually use it, it reminds me:

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

So, the pre-commit-hooks version should be upgraded to the latest one.

When using pre-commit-hooks, I copied the version from the website.. But
when I actually use it, it reminds me:

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

```

So, the version should be upgraded to the latest one.
@asottile
Copy link
Member

please look at other prs first next time!

@asottile asottile closed this Dec 31, 2024
@kang8 kang8 deleted the upgrade-pre-commit-hooks-version branch December 31, 2024 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants