MCPcopy Create free account
hub / github.com/FastLED/FastLED / run_clang_format_diff_wrapper

Function run_clang_format_diff_wrapper

ci/run-clang-format.py:127–137  ·  view source on GitHub ↗
(args: Any, file: str)

Source from the content-addressed store, hash-verified

125
126
127def run_clang_format_diff_wrapper(args: Any, file: str) -> tuple[list[str], list[str]]:
128 try:
129 ret = run_clang_format_diff(args, file)
130 return ret
131 except DiffError:
132 raise
133 except KeyboardInterrupt as ki:
134 handle_keyboard_interrupt(ki)
135 raise
136 except Exception as e:
137 raise UnexpectedError("{}: {}: {}".format(file, e.__class__.__name__, e), e)
138
139
140def run_clang_format_diff(args: Any, file: str) -> tuple[list[str], list[str]]:

Callers 1

mainFunction · 0.85

Calls 4

run_clang_format_diffFunction · 0.85
UnexpectedErrorClass · 0.85
formatMethod · 0.80

Tested by

no test coverage detected