2.0.0 tag does not work with pre-commit
MattF-NSIDC opened this issue · 1 comments
MattF-NSIDC commented
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 commented
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
.