Straightforward replacement of color names to their ASCII codes.
(cls, lines: list[str])
| 198 | |
| 199 | @classmethod |
| 200 | def format(cls, lines: list[str]) -> list[str]: |
| 201 | class="st">""class="st">"Straightforward replacement of color names to their ASCII codes."class="st">"" |
| 202 | return [line.format(**cls.COLORS) for line in lines] |
| 203 | |
| 204 | @classmethod |
| 205 | def format_for_fnmatch(cls, lines: list[str]) -> list[str]: |
no outgoing calls
no test coverage detected