(args: Any, file: str)
| 125 | |
| 126 | |
| 127 | def 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 | |
| 140 | def run_clang_format_diff(args: Any, file: str) -> tuple[list[str], list[str]]: |
no test coverage detected