Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/pre-commit/pre-commit
/ _get_skips
Function
_get_skips
pre_commit/commands/run.py:129–131 ·
view source on GitHub ↗
(environ: MutableMapping[str, str])
Source
from the content-addressed store, hash-verified
127
128
129
def
_get_skips(environ: MutableMapping[str, str]) -> set[str]:
130
skips = environ.get(
'SKIP'
,
''
)
131
return
{skip.strip()
for
skip in skips.split(
','
)
if
skip.strip()}
132
133
134
SKIPPED =
'Skipped'
Callers
2
test_get_skips
Function · 0.90
run
Function · 0.85
Calls
1
get
Method · 0.45
Tested by
1
test_get_skips
Function · 0.72