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

Pre-Commit Error Clang-Format #35

Open
claudiushaag opened this issue Nov 1, 2024 · 1 comment
Open

Pre-Commit Error Clang-Format #35

claudiushaag opened this issue Nov 1, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@claudiushaag
Copy link
Member

Got this error when using pre-commit.
I have no idea what to do with it ^^
Hope that helps. Error was on a super old machine, so maybe the error does not deserve to be dealt with any further... :D

> git -c user.useConfigOnly=true commit --quiet --allow-empty-message --file -
An error has occurred: InvalidManifestError: 
==> File /home/USADR/XXXX/.cache/pre-commit/reponsqk1myk/.pre-commit-hooks.yaml
==> At Hook(id='clang-format')
==> At key: types_or
==> At index 9
=====> Type tag 'textproto' is not recognized.  Try upgrading identify and pre-commit?
Check the log at /home/USADR/XXXX/.cache/pre-commit/pre-commit.log
@claudiushaag claudiushaag added the bug Something isn't working label Nov 1, 2024
@IshaanDesai
Copy link
Collaborator

I had a quick look and could not reproduce this, most probably because we updated to using a more recent version of pre-commit and clang-format. Unless this is causing issues on a server or a common workstation, I would suggest closing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants