Skip to content

Commit 4e13e6e

Browse files
committed
One more tweak
1 parent eb84290 commit 4e13e6e

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

trepan/options.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
from 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.

0 commit comments

Comments
 (0)