MCPcopy 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
59def ignore_exit_code(cmd: tuple[str, ...]) -> int:
60 cmd = normalize_cmd(cmd)
61 subprocess.call(cmd)
62 return 0
63
64
65def n1(cmd: tuple[str, ...]) -> int:

Callers 1

implFunction · 0.85

Calls 1

normalize_cmdFunction · 0.90

Tested by

no test coverage detected