-
Notifications
You must be signed in to change notification settings - Fork 415
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
InvalidManifestError
when doing a git commit
#1733
Comments
MetroMarv
pushed a commit
to MetroMarv/uberspace-lab
that referenced
this issue
Mar 17, 2024
Upgrade pre-commit from version 2.13.* to 3.6.* to avoid the following error: An error has occurred: InvalidManifestError: ==> File /Users/<user>/.cache/pre-commit/repoyg3plrqf/.pre-commit-hooks.yaml ==> At Hook(id='black') ==> At key: stages ==> At index 0 =====> Expected one of commit, commit-msg, manual, merge-commit, post-checkout, post-commit, post-merge, prepare-commit-msg, push but got: 'pre-commit' Fixes Uberspace#1733
nichtmax
pushed a commit
that referenced
this issue
Apr 23, 2024
* Use version 3.6.* of pre-commit to avoid InvalidManifestError Upgrade pre-commit from version 2.13.* to 3.6.* to avoid the following error: An error has occurred: InvalidManifestError: ==> File /Users/<user>/.cache/pre-commit/repoyg3plrqf/.pre-commit-hooks.yaml ==> At Hook(id='black') ==> At key: stages ==> At index 0 =====> Expected one of commit, commit-msg, manual, merge-commit, post-checkout, post-commit, post-merge, prepare-commit-msg, push but got: 'pre-commit' Fixes #1733 * Use supported version by CI pipeline --------- Co-authored-by: Marvin Rensing <marvin.rensing@openvalue.de> Co-authored-by: MetroMarv <9006725+MetroMarv@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I checked out the repo as usual and followed the setup step
make setup
. If I then executegit commit -m "my commit message"
. I receive following error from git:I'm running MacOS 14.2.1 with git version 2.43.0.
Is it something that I did wrong or just an outdated script?
The text was updated successfully, but these errors were encountered: