bugfix: remove import click and supress typer errors only
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
from subprocess import CalledProcessError, SubprocessError
|
||||
from typing import Annotated
|
||||
|
||||
import click
|
||||
import typer
|
||||
from rich.markup import escape
|
||||
from rich.traceback import Traceback
|
||||
@@ -70,7 +69,7 @@ def _print_error(message: str, title: str, e: BaseException):
|
||||
base.io_error(message, title=title)
|
||||
console.print(
|
||||
Traceback.from_exception(
|
||||
type(e), e, e.__traceback__, suppress=[click, typer]
|
||||
type(e), e, e.__traceback__, suppress=[typer]
|
||||
)
|
||||
)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user