File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -32,10 +32,10 @@ class LaunchOptionalImports(TypedDict):
32
32
33
33
class LaunchImports (t .TypedDict ):
34
34
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 ]
39
39
server : t .Optional ["Server" ]
40
40
session : t .Optional ["Session" ]
41
41
window : t .Optional ["Window" ]
@@ -101,7 +101,7 @@ def detect_best_shell() -> "CLIShellLiteral":
101
101
102
102
103
103
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
105
105
) -> t .Callable [[], None ]:
106
106
if extra_args is None :
107
107
extra_args = {}
@@ -118,13 +118,13 @@ def launch_bpython() -> None:
118
118
return launch_bpython
119
119
120
120
121
- def get_ipython_arguments () -> list [str ]:
121
+ def get_ipython_arguments () -> t . List [str ]:
122
122
ipython_args = "IPYTHON_ARGUMENTS"
123
123
return os .environ .get (ipython_args , "" ).split ()
124
124
125
125
126
126
def get_ipython (
127
- options : "LaunchOptionalImports" , ** extra_args : dict [str , t .Any ]
127
+ options : "LaunchOptionalImports" , ** extra_args : t . Dict [str , t .Any ]
128
128
) -> t .Any :
129
129
try :
130
130
from IPython import start_ipython
You can’t perform that action at this time.
0 commit comments