Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/pre-commit/pre-commit
/ Var
Class
Var
pre_commit/envcontext.py:15–17 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
13
14
15
class
Var(NamedTuple):
16
name: str
17
default: str =
''
18
19
20
SubstitutionT = tuple[Union[str, Var], ...]
Callers
15
get_env_patch
Function · 0.90
get_env_patch
Function · 0.90
get_env_patch
Function · 0.90
get_env_patch
Function · 0.90
get_env_patch
Function · 0.90
get_env_patch
Function · 0.90
get_env_patch
Function · 0.90
get_env_patch
Function · 0.90
get_env_patch
Function · 0.90
get_env_patch
Function · 0.90
get_env_patch
Function · 0.90
get_env_patch
Function · 0.90
Calls
no outgoing calls
Tested by
5
bin_on_path
Function · 0.72
test_templated_environment_variable_missing
Function · 0.72
test_templated_environment_variable_defaults
Function · 0.72
test_templated_environment_variable_there
Function · 0.72
test_templated_environ_sources_from_previous
Function · 0.72