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

docformatter is failing with the attached error #3371

Closed
mkundu1 opened this issue Oct 7, 2024 · 2 comments · Fixed by #3380
Closed

docformatter is failing with the attached error #3371

mkundu1 opened this issue Oct 7, 2024 · 2 comments · Fixed by #3380

Comments

@mkundu1
Copy link
Contributor

mkundu1 commented Oct 7, 2024

Run pre-commit run --hook-stage manual --all-files --show-diff-on-failure docformatter
[INFO] Initializing environment for https://github.com/psf/black.
[INFO] Initializing environment for https://github.com/pycqa/isort.
Warning: repo [https://github.com/pycqa/isort](https://github.com/pycqa/isort%60) uses deprecated stage names (commit, merge-commit, push) which will be removed in a future version. Hint: often pre-commit autoupdate --repo [https://github.com/pycqa/isort](https://github.com/pycqa/isort%60) will fix this. if it does not -- consider reporting an issue to that repo.
[INFO] Initializing environment for https://github.com/PyCQA/flake8.
[INFO] Initializing environment for https://github.com/PyCQA/flake8:flake8-annotations==3.0.1.
[INFO] Initializing environment for https://github.com/codespell-project/codespell.
[INFO] Initializing environment for https://github.com/codespell-project/codespell:tomli.
[INFO] Initializing environment for https://github.com/PyCQA/docformatter.
An error has occurred: InvalidManifestError:
==> File /home/runner/.cache/pre-commit/repo1ydb2nef/.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/runner/.cache/pre-commit/pre-commit.log
Error: Process completed with exit code 1.

@mkundu1
Copy link
Contributor Author

mkundu1 commented Oct 7, 2024

"Documentation Style Check" has been temporarily removed from PR merge status checks.

@mkundu1
Copy link
Contributor Author

mkundu1 commented Oct 7, 2024

PyCQA/docformatter#287

@hpohekar hpohekar linked a pull request Oct 10, 2024 that will close this issue
segsell added a commit to OpenSourceEconomics/dcegm that referenced this issue Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant