Visitar URL original
remove pre-commit-validate-config and pre-commit-validate-manifest by asottile · Pull Request #2658 · pre-commit/pre-commit · GitHub
The Wayback Machine - https://web.archive.org/web/20221228090949/https://github.com/pre-commit/pre-commit/pull/2658
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

remove pre-commit-validate-config and pre-commit-validate-manifest #2658

Merged
merged 1 commit into from Dec 27, 2022

Conversation

asottile
Copy link
Member

@asottile asottile commented Dec 27, 2022 •

this has been warning since april of 2022:

$ pre-commit-validate-manifest .pre-commit-hooks.yaml 
[WARNING] pre-commit-validate-manifest is deprecated -- use `pre-commit validate-manifest` instead.
$ pre-commit-validate-config .pre-commit-config.yaml 
[WARNING] pre-commit-validate-config is deprecated -- use `pre-commit validate-config` instead.

this will now be an error:

$ pre-commit-validate-manifest .pre-commit-hooks.yaml 
bash: pre-commit-validate-manifest: command not found
$ pre-commit-validate-config .pre-commit-config.yaml 
bash: pre-commit-validate-config: command not found

instead use the pre-commit sub-commands:

$ pre-commit validate-manifest .pre-commit-hooks.yaml 
$ pre-commit validate-config .pre-commit-config.yaml 

@asottile asottile force-pushed the remove-pre-commit-validate branch from a649183 to 4a50859 Compare Dec 27, 2022
@asottile asottile marked this pull request as ready for review Dec 27, 2022
@asottile asottile merged commit 848a73e into main Dec 27, 2022
2 checks passed
@asottile asottile deleted the remove-pre-commit-validate branch Dec 27, 2022
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.

None yet

1 participant