From aa44006d137422ef8669f33c7aacb89c97f92a14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Tue, 3 Dec 2024 15:08:44 +0100 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20When=20printing=20error=20?= =?UTF-8?q?tracebacks=20with=20Rich,=20default=20to=20not=20showing=20loca?= =?UTF-8?q?ls?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- typer/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typer/main.py b/typer/main.py index a23c3c0f5d..71c2f345d8 100644 --- a/typer/main.py +++ b/typer/main.py @@ -151,7 +151,7 @@ def __init__( rich_markup_mode: MarkupMode = Default(DEFAULT_MARKUP_MODE), rich_help_panel: Union[str, None] = Default(None), pretty_exceptions_enable: bool = True, - pretty_exceptions_show_locals: bool = True, + pretty_exceptions_show_locals: bool = False, pretty_exceptions_short: bool = True, ): self._add_completion = add_completion