-
Notifications
You must be signed in to change notification settings - Fork 84
Closed
Labels
C: stakeholderRelates to docformatter stakeholder requested behaviorRelates to docformatter stakeholder requested behaviorP: enhancementFeature that is outside the scope of PEP 257Feature that is outside the scope of PEP 257U: lowA relatively low urgency issueA relatively low urgency issue
Description
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!
Metadata
Metadata
Assignees
Labels
C: stakeholderRelates to docformatter stakeholder requested behaviorRelates to docformatter stakeholder requested behaviorP: enhancementFeature that is outside the scope of PEP 257Feature that is outside the scope of PEP 257U: lowA relatively low urgency issueA relatively low urgency issue