Skip to content

I think the pre-commit yaml isnt working #278

Closed
@hayesla

Description

@hayesla

Describe the bug

using pre-commit raises errors:

(sunpy_py312) laurahayes@MacBook-Pro-2 sunpy-sphinx-theme % pre-commit run --all-files                           
An error has occurred: InvalidManifestError: 
==> File /Users/laurahayes/.cache/pre-commit/repofq8bgfac/.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 /Users/laurahayes/.cache/pre-commit/pre-commit.log

i went into yaml file and changed language to python rather than python_venv

To Reproduce

import sunpy

sunpy.map.Map(...)
etc

Screenshots

No response

System Details

No response

Installation method

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions