Remove all whitespace to avoid reasoning about newlines and indents
(text: str)
| 34 | |
| 35 | |
| 36 | def strip_whitespace(text: str) -> str: |
| 37 | """ |
| 38 | Remove all whitespace to avoid reasoning about newlines and indents |
| 39 | """ |
| 40 | return re.sub(r"\s", "", text) |
| 41 | |
| 42 | |
| 43 | def normalize(func: rx.Function) -> rx.Function: |
no test coverage detected
searching dependent graphs…