(
self, color_scheme: MutableMapping[str, str], **options: Any
)
| 103 | straightforward.""" |
| 104 | |
| 105 | def __init__( |
| 106 | self, color_scheme: MutableMapping[str, str], **options: Any |
| 107 | ) -> None: |
| 108 | self.f_strings = {} |
| 109 | for k, v in theme_map.items(): |
| 110 | self.f_strings[k] = f"\x01{color_scheme[v]}" |
| 111 | if k is Parenthesis: |
| 112 | # FIXME: Find a way to make this the inverse of the current |
| 113 | # background colour |
| 114 | self.f_strings[k] += "I" |
| 115 | super().__init__(**options) |
| 116 | |
| 117 | def format( |
| 118 | self, |
nothing calls this directly
no outgoing calls
no test coverage detected