(
messages: list[str], f: TextIO, formatter: util.FancyFormatter, options: Options
)
| 255 | |
| 256 | |
| 257 | def show_messages( |
| 258 | messages: list[str], f: TextIO, formatter: util.FancyFormatter, options: Options |
| 259 | ) -> None: |
| 260 | for msg in messages: |
| 261 | if options.color_output: |
| 262 | msg = formatter.colorize(msg) |
| 263 | f.write(msg + "\n") |
| 264 | f.flush() |
| 265 | |
| 266 | |
| 267 | # Make the help output a little less jarring. |
no test coverage detected
searching dependent graphs…