Code
Hub
Trending
Following
Digest
Workspaces
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/pre-commit/pre-commit
/ ignore_exit_code
Function
ignore_exit_code
pre_commit/commands/hazmat.py:59–62 ·
view source on GitHub ↗
(cmd: tuple[str, ...])
Source
from the content-addressed store, hash-verified
57
58
59
def
ignore_exit_code(cmd: tuple[str, ...]) -> int:
60
cmd = normalize_cmd(cmd)
61
subprocess.call(cmd)
62
return
0
63
64
65
def
n1(cmd: tuple[str, ...]) -> int:
Callers
1
impl
Function · 0.85
Calls
1
normalize_cmd
Function · 0.90
Tested by
no test coverage detected