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

Method to_output

pre_commit/parse_shebang.py:11–12  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

9
10class ExecutableNotFoundError(OSError):
11 def to_output(self) -> tuple[int, bytes, None]:
12 return (1, self.args[0].encode(), None)
13
14
15def parse_filename(filename: str) -> tuple[str, ...]:

Callers 3

xargsFunction · 0.80
cmd_output_bFunction · 0.80
cmd_output_pFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected