SIGN IN SIGN UP

Monochrome Rich traceback rendering w/ ConsoleRenderer(colors=False) (#794)

* RichTracebackFormatter: Extends type annotation to allow no monochrome output

The None isn't specified as Literal, b/c ruff tells us how to express this.

* ConsoleRenderer: When colors=False, set monochrome output for RichTracebackFormatter

* Use ternary & use identity to detect defaults

* Test switching back to colors

* Docs and changelogs

---------

Co-authored-by: Hynek Schlawack <hs@ox.cx>
F
Frank Sachsenheim committed
2796b22ee1b5eed48cf1d25113d43bcf971711a4
Parent: b2f3daf
Committed by GitHub <noreply@github.com> on 5/10/2026, 12:46:02 PM