File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ class ProcessProxy(object):
122122 ptype: instance of ProcessType
123123 """
124124
125- _process : any
125+ _process : typing . Any
126126 _ptype : ProcessType
127127
128128 def __init__ (self , process , ptype : typing .Optional [ProcessType ] = None ):
@@ -147,7 +147,7 @@ def __repr__(self):
147147 repr (self .process ))
148148
149149 @property
150- def process (self ) -> any :
150+ def process (self ) -> typing . Any :
151151 assert self ._process is not None
152152 return self ._process
153153
@@ -174,7 +174,7 @@ def __init__(self,
174174 name = None ,
175175 base_dir = None ,
176176 port : typing .Optional [int ] = None ,
177- conn_params : ConnectionParams = None ,
177+ conn_params : typing . Optional [ ConnectionParams ] = None ,
178178 bin_dir = None ,
179179 prefix = None ,
180180 os_ops : typing .Optional [OsOperations ] = None ,
@@ -2168,6 +2168,7 @@ def _get_bin_path(self, filename):
21682168 bin_path = get_bin_path2 (self .os_ops , filename )
21692169 return bin_path
21702170
2171+ @staticmethod
21712172 def _escape_config_value (value ):
21722173 assert type (value ) == str # noqa: E721
21732174
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ def make_empty(
9292 self ._os_ops .rmdirs (real_base_dir , ignore_errors = True )
9393 self ._os_ops .makedirs (real_base_dir )
9494
95- port_manager : PortManager = None
95+ port_manager : typing . Optional [ PortManager ] = None
9696
9797 if port is None :
9898 port_manager = self ._port_manager
You can’t perform that action at this time.
0 commit comments