From f0626d32f243faf680696717f8a6451544358a87 Mon Sep 17 00:00:00 2001 From: TomJGooding <101601846+TomJGooding@users.noreply.github.com> Date: Sat, 10 May 2025 16:52:15 +0100 Subject: [PATCH] fix(logging): fix tracebacks_code_width type hint Closes #3729 Co-authored-by: theo court <110127860+thcrt@users.noreply.github.com> --- rich/logging.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rich/logging.py b/rich/logging.py index b2624cd54a..c3e7a5f670 100644 --- a/rich/logging.py +++ b/rich/logging.py @@ -76,7 +76,7 @@ def __init__( markup: bool = False, rich_tracebacks: bool = False, tracebacks_width: Optional[int] = None, - tracebacks_code_width: int = 88, + tracebacks_code_width: Optional[int] = 88, tracebacks_extra_lines: int = 3, tracebacks_theme: Optional[str] = None, tracebacks_word_wrap: bool = True,