File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2828from trepan .lib .file import readable
2929
3030
31- def default_configfile (base_filename ) :
31+ def default_configfile (base_filename : str ) -> str :
3232 """Return fully expanded configuration filename location for
3333 base_filename. python2 and python3 debuggers share the same
3434 directory: ~/.config/trepan.py
@@ -41,7 +41,7 @@ def default_configfile(base_filename):
4141 return osp .join (file_dir , base_filename )
4242
4343
44- def add_startup_file (dbg_initfiles ):
44+ def add_startup_file (dbg_initfiles : list ):
4545 """Read debugger startup file(s): both python code and
4646 debugger profile to dbg_initfiles."""
4747
@@ -59,7 +59,9 @@ def add_startup_file(dbg_initfiles):
5959 return
6060
6161
62- def process_options (debugger_name , pkg_version , sys_argv : List [str ], option_list = None ):
62+ def process_options (
63+ debugger_name : str , pkg_version : str , sys_argv : List [str ], option_list = None
64+ ):
6365 """Handle debugger options. Set `option_list' if you are writing
6466 another main program and want to extend the existing set of debugger
6567 options.
You can’t perform that action at this time.
0 commit comments