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

Function _conda_exe

pre_commit/languages/conda.py:50–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48
49
50def _conda_exe() -> str:
51 if os.environ.get('PRE_COMMIT_USE_MICROMAMBA'):
52 return 'micromamba'
53 elif os.environ.get('PRE_COMMIT_USE_MAMBA'):
54 return 'mamba'
55 else:
56 return 'conda'
57
58
59def install_environment(

Callers 1

install_environmentFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected