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

Fix pre-commit deprecated stage names #2712

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jsoref
Copy link
Contributor

@jsoref jsoref commented Jan 6, 2025

Run pre-commit run --all-files --show-diff-on-failure --color always
[INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks.
[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.
[INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks.

Pre-requisites

Tasks

> Run pre-commit run --all-files --show-diff-on-failure --color always
> [INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks.
> [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.
> [INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks.

- pre-commit/pre-commit-hooks#1093

Signed-off-by: Josh Soref <[email protected]>
@jsoref jsoref requested review from a team as code owners January 6, 2025 14:39
@jsoref
Copy link
Contributor Author

jsoref commented Jan 6, 2025

The linter failure is fixed by:

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

Successfully merging this pull request may close these issues.

1 participant