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

Bug: set correct pre-commit-hooks version #2034

Merged
merged 1 commit into from
Aug 26, 2024

Conversation

ltoniazzi
Copy link
Contributor

@ltoniazzi ltoniazzi commented Aug 25, 2024

Context

Since the upgrade of pre-commit-hooks version in #1965 , my pre-commit fails, and it looks like the introduced version is very old (and suspiciously identical to ruff's upgrade in the same PR).

Error

After git commit:

An error has occurred: InvalidManifestError: 
=====> /usr/.cache/pre-commit/repoo4pb5nqr/.pre-commit-hooks.yaml is not a file
Check the log at /usr/.cache/pre-commit/pre-commit.log

Fix

Set the version of pre-commit-hooks to latest.

@ltoniazzi ltoniazzi marked this pull request as ready for review August 25, 2024 08:15
@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Copy link
Member

@BenjaminBossan BenjaminBossan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing this, my bad for introducing this error.

@BenjaminBossan BenjaminBossan merged commit 850eeb5 into huggingface:main Aug 26, 2024
14 checks passed
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.

3 participants