Skip to content

Commit 314f504

Browse files
committed
Fix linting
1 parent 821b06d commit 314f504

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

typer/_typing.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
TYPE_CHECKING,
1111
AbstractSet,
1212
Any,
13-
Callable as TypingCallable,
1413
ClassVar,
1514
Dict,
1615
ForwardRef,
@@ -26,9 +25,16 @@
2625
Union,
2726
_eval_type,
2827
cast,
28+
get_type_hints,
29+
)
30+
from typing import (
31+
Callable as TypingCallable,
32+
)
33+
from typing import (
2934
get_args as _typing_get_args,
35+
)
36+
from typing import (
3037
get_origin as _typing_get_origin,
31-
get_type_hints,
3238
)
3339

3440
from typing_extensions import Annotated, Literal

typer/rich_utils.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
from rich.text import Text
2121
from rich.theme import Theme
2222

23-
2423
# Default styles
2524
STYLE_OPTION = "bold cyan"
2625
STYLE_SWITCH = "bold green"

0 commit comments

Comments
 (0)