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,