You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The latest version of pre-commit no longer supports python_venv as a language option, which makes the venv hook causing an error like this (same as #289 ):
==> 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 /pc/pre-commit.log
I noticed that the venv hook in the .pre-commit-hooks.yaml file has been removed in the master branch. However, the latest release (v1.7.5) does not include this fix, and this is causing compatibility issues when installing via pip using pre-commit.
Since the issue has been fixed in the master branch, would it be possible to release a new version so that users installing via pip can benefit from this fix?
Thank you!
The text was updated successfully, but these errors were encountered:
Hi,
The latest version of
pre-commit
no longer supportspython_venv
as a language option, which makes thevenv
hook causing an error like this (same as #289 ):I noticed that the
venv
hook in the.pre-commit-hooks.yaml
file has been removed in themaster
branch. However, the latest release (v1.7.5) does not include this fix, and this is causing compatibility issues when installing viapip
usingpre-commit
.Since the issue has been fixed in the
master
branch, would it be possible to release a new version so that users installing viapip
can benefit from this fix?Thank you!
The text was updated successfully, but these errors were encountered: