Skip to content

Commit b24b034

Browse files
committed
!squash shell
1 parent 0133b0d commit b24b034

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/tmuxp/shell.py

+7-7
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ class LaunchOptionalImports(TypedDict):
3232

3333
class LaunchImports(t.TypedDict):
3434
libtmux: ModuleType
35-
Server: type[Server]
36-
Session: type[Session]
37-
Window: type[Window]
38-
Pane: type[Pane]
35+
Server: t.Type[Server]
36+
Session: t.Type[Session]
37+
Window: t.Type[Window]
38+
Pane: t.Type[Pane]
3939
server: t.Optional["Server"]
4040
session: t.Optional["Session"]
4141
window: t.Optional["Window"]
@@ -101,7 +101,7 @@ def detect_best_shell() -> "CLIShellLiteral":
101101

102102

103103
def get_bpython(
104-
options: "LaunchOptionalImports", extra_args: t.Optional[dict[str, t.Any]] = None
104+
options: "LaunchOptionalImports", extra_args: t.Optional[t.Dict[str, t.Any]] = None
105105
) -> t.Callable[[], None]:
106106
if extra_args is None:
107107
extra_args = {}
@@ -118,13 +118,13 @@ def launch_bpython() -> None:
118118
return launch_bpython
119119

120120

121-
def get_ipython_arguments() -> list[str]:
121+
def get_ipython_arguments() -> t.List[str]:
122122
ipython_args = "IPYTHON_ARGUMENTS"
123123
return os.environ.get(ipython_args, "").split()
124124

125125

126126
def get_ipython(
127-
options: "LaunchOptionalImports", **extra_args: dict[str, t.Any]
127+
options: "LaunchOptionalImports", **extra_args: t.Dict[str, t.Any]
128128
) -> t.Any:
129129
try:
130130
from IPython import start_ipython

0 commit comments

Comments
 (0)