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

Method get_default_version

pre_commit/lang_base.py:32–32  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

30 def ENVIRONMENT_DIR(self) -> str | None: ...
31 # return a value to replace `'default` for `language_version`
32 def get_default_version(self) -> str: ...
33 # return whether the environment is healthy (or should be rebuilt)
34 def health_check(self, prefix: Prefix, version: str) -> str | None: ...
35

Callers 5

_hookFunction · 0.80
installed_environmentFunction · 0.80
test_ruby_hook_systemFunction · 0.80
run_languageFunction · 0.80

Calls

no outgoing calls

Tested by 3

installed_environmentFunction · 0.64
test_ruby_hook_systemFunction · 0.64