Skip to content

Conversation

@rragundez
Copy link
Contributor

The current pre-commit config is broken, yielding the following error when tryogn to run it:

INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks.
[WARNING] repo `https://github.com/pre-commit/pre-commit-hooks` uses deprecated stage names (commit, push) which will be removed in a future version.  Hint: often `pre-commit autoupdate --repo https://github.com/pre-commit/pre-commit-hooks` will fix this.  if it does not -- consider reporting an issue to that repo.
[INFO] Initializing environment for https://github.com/myint/docformatter.
An error has occurred: InvalidManifestError: 
==> File /Users/rragundez/.cache/pre-commit/repoq1s4c74o/.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, julia, lua, node, perl, pygrep, python, r, ruby, rust, script, swift, system but got: 'python_venv'
Check the log at /Users/rragundez/.cache/pre-commit/pre-commit.log

This PR updated the version which solves the InvalidManifestError

@LucasQR LucasQR merged commit 541e33f into benavlabs:main Oct 20, 2025
3 checks passed
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

Successfully merging this pull request may close these issues.

2 participants