Hi,
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!
Hi,
The latest version of
pre-commitno longer supportspython_venvas a language option, which makes thevenvhook causing an error like this (same as #289 ):I noticed that the
venvhook in the.pre-commit-hooks.yamlfile has been removed in themasterbranch. However, the latest release (v1.7.5) does not include this fix, and this is causing compatibility issues when installing viapipusingpre-commit.Since the issue has been fixed in the
masterbranch, would it be possible to release a new version so that users installing viapipcan benefit from this fix?Thank you!