(m: Match[str])
| 42 | |
| 43 | def leading_tabs_to_spaces(s: str) -> str: |
| 44 | def tab_to_space(m: Match[str]) -> str: |
| 45 | return len(m.group()) * 4 * " " |
| 46 | |
| 47 | return "\n".join( |
| 48 | tabs_to_spaces_re.sub(tab_to_space, line) for line in s.split("\n") |
nothing calls this directly
no outgoing calls
no test coverage detected