Uberspace / lab

The Uberlab provides various tutorials - written by you! - on how to run software and tools on Uberspace 7.
https://lab.uberspace.de
Other
308 stars 406 forks source link

`InvalidManifestError` when doing a git commit #1733

Closed MarvinVaillant closed 2 months ago

MarvinVaillant commented 3 months ago

I checked out the repo as usual and followed the setup step make setup. If I then execute git commit -m "my commit message". I receive following error from git:

An error has occurred: InvalidManifestError:
==> File /Users/marvin/.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'

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?