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

Function get_env_patch

pre_commit/languages/dotnet.py:26–29  ·  view source on GitHub ↗
(venv: str)

Source from the content-addressed store, hash-verified

24
25
26def get_env_patch(venv: str) -> PatchesT:
27 return (
28 ('PATH', (os.path.join(venv, BIN_DIR), os.pathsep, Var('PATH'))),
29 )
30
31
32@contextlib.contextmanager

Callers 1

in_envFunction · 0.70

Calls 1

VarClass · 0.90

Tested by

no test coverage detected