File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change 1010from click import Command , Group , Option
1111
1212from . import __version__
13-
14- HAS_RICH = importlib .util .find_spec ("rich" ) is not None
13+ from .core import HAS_RICH
1514
1615default_app_names = ("app" , "cli" , "main" )
1716default_func_names = ("main" , "cli" , "app" )
Original file line number Diff line number Diff line change 2222from .completion import get_completion_inspect_parameters
2323from .core import (
2424 DEFAULT_MARKUP_MODE ,
25+ HAS_RICH ,
2526 MarkupMode ,
2627 TyperArgument ,
2728 TyperCommand ,
5051)
5152from .utils import get_params_from_function
5253
53- HAS_RICH = importlib .util .find_spec ("rich" ) is not None
54-
55-
5654_original_except_hook = sys .excepthook
5755_typer_developer_exception_attr_name = "__typer_developer_exception__"
5856
You can’t perform that action at this time.
0 commit comments