Each subclass of `Preprocessor` should override the `run` method, which takes the document as a list of strings split by newlines and returns the (possibly modified) list of lines.
(self, lines: list[str])
| 54 | |
| 55 | """ |
| 56 | def run(self, lines: list[str]) -> list[str]: |
| 57 | """ |
| 58 | Each subclass of `Preprocessor` should override the `run` method, which |
| 59 | takes the document as a list of strings split by newlines and returns |
| 60 | the (possibly modified) list of lines. |
| 61 | |
| 62 | """ |
| 63 | pass # pragma: no cover |
| 64 | |
| 65 | |
| 66 | class NormalizeWhitespace(Preprocessor): |
no outgoing calls
no test coverage detected