MCPcopy Index your code
hub / github.com/pre-commit/pre-commit / install_environment

Method install_environment

pre_commit/lang_base.py:37–43  ·  view source on GitHub ↗
(
            self,
            prefix: Prefix,
            version: str,
            additional_dependencies: Sequence[str],
    )

Source from the content-addressed store, hash-verified

35
36 # install a repository for the given language and language_version
37 def install_environment(
38 self,
39 prefix: Prefix,
40 version: str,
41 additional_dependencies: Sequence[str],
42 ) -> None:
43 ...
44
45 # modify the environment for hook execution
46 def in_env(self, prefix: Prefix, version: str) -> ContextManager[None]: ...

Calls

no outgoing calls