Skip to content

Commit 61a815e

Browse files
committed
Modernize
1 parent ca38dbb commit 61a815e

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ pygments >= 2.2.0
88
spark_parser
99
tracer >= 0.3.2
1010
flake8
11-
uncompyle6 >= 3.7.0
11+
uncompyle6 >= 3.7.4
1212
# Get these from github
1313
# pyficache >= 2.1.0, < 2.2.0
1414
# xdis >= 4.7.0

trepan/misc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def option_set(options, value, default_options):
2323
return None # Not reached
2424

2525

26-
def bool2YN(b):
26+
def bool2YN(b) -> bool:
2727
return "Y" if b else "N"
2828

2929

@@ -35,7 +35,7 @@ def wrapped_lines(msg_part1, msg_part2, width):
3535
return # Not reached
3636

3737

38-
def pretty_modfunc_name(s):
38+
def pretty_modfunc_name(s) -> str:
3939
if s == "<module>":
4040
# FIXME:
4141
# Pick replace with something more custom to modname?

0 commit comments

Comments
 (0)