Extract the leading whitespace from a line.
(line: str)
| 159 | |
| 160 | |
| 161 | def _get_indentation(line: str) -> str: |
| 162 | """Extract the leading whitespace from a line.""" |
| 163 | return line[: len(line) - len(line.lstrip())] |
| 164 | |
| 165 | |
| 166 | def _strip_indentation(line: str) -> str: |
no outgoing calls
no test coverage detected