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

Function get_env_patch

pre_commit/languages/dart.py:25–28  ·  view source on GitHub ↗
(venv: str)

Source from the content-addressed store, hash-verified

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

Callers 1

in_envFunction · 0.70

Calls 1

VarClass · 0.90

Tested by

no test coverage detected