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

2.0.0 tag does not work with pre-commit #375

Open
MattF-NSIDC opened this issue Dec 7, 2023 · 1 comment
Open

2.0.0 tag does not work with pre-commit #375

MattF-NSIDC opened this issue Dec 7, 2023 · 1 comment

Comments

@MattF-NSIDC
Copy link

Following the docs, I'm able to set up a pre-commit hook using the exact YAML in the README, but I prefer to set rev: to a version number if possible. I saw that there is a 2.0.0 tag, so I tried it and got:

An error has occurred: InvalidManifestError: 
=====> /home/mfisher/.cache/pre-commit/repopeugw5dv/.pre-commit-hooks.yaml is not a file

Can a new release be cut which fixes this issue? Thanks!

@jspaaks
Copy link
Member

jspaaks commented Jan 15, 2024

Hi @MattF-NSIDC, thanks for taking the time to report this. Indeed this is due to the pre-commit functionality being unreleased. I'm planning to make a new release once we get Citation File Format 1.3.0 done (hopefully soon). Until that time, the workaround is to use the SHA instead of the tag as rev in your .pre-commit-config.yaml.

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

2 participants