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

Function setup_cmd

pre_commit/lang_base.py:86–87  ·  view source on GitHub ↗
(prefix: Prefix, cmd: tuple[str, ...], **kwargs: Any)

Source from the content-addressed store, hash-verified

84
85
86def setup_cmd(prefix: Prefix, cmd: tuple[str, ...], **kwargs: Any) -> None:
87 cmd_output_b(*cmd, cwd=prefix.prefix_dir, **kwargs)
88
89
90def environment_dir(prefix: Prefix, d: str, language_version: str) -> str:

Callers

nothing calls this directly

Calls 1

cmd_output_bFunction · 0.90

Tested by

no test coverage detected