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: InvalidManifestError: #403

Open
gjmm07 opened this issue Oct 21, 2024 · 0 comments
Open

Pre commit error: InvalidManifestError: #403

gjmm07 opened this issue Oct 21, 2024 · 0 comments

Comments

@gjmm07
Copy link

gjmm07 commented Oct 21, 2024

Hey,

I am trying to contribute to this project. The problem is I cannot commit due to pre-commit errors. When running
git commit -m ""
I get this error:

An error has occurred: InvalidManifestError: 
==> File /home/<name>/.cache/pre-commit/repofaig1u3l/.pre-commit-hooks.yaml
==> At Hook(id='docformatter-venv')
==> At key: language
=====> Expected one of conda, coursier, dart, docker, docker_image, dotnet, fail, golang, haskell, lua, node, perl, pygrep, python, r, ruby, rust, script, swift, system but got: 'python_venv'
Check the log at /home/<name>/.cache/pre-commit/pre-commit.log

After some research I found that using python_venv as language is deprecated, but still used with docformatter current version (v1.7.5). As a workaround one could put "rev: master" see here.

To my understanding I am not allowed to change this. Is there a workaround for this?

Kind regards

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

1 participant