Skip to content

Commit 93b18df

Browse files
committed
Mypy update
1 parent 57abd23 commit 93b18df

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lglpy/timeline/data/processed_trace.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class GPUWorkload:
6161
PARENS = re.compile(r'(\(.*\))')
6262
RESOLUTION = re.compile(r'\d+x\d+')
6363
WHITESPACE = re.compile(r'\s\s+')
64-
MEMO = dict()
64+
MEMO: dict[str, str] = dict()
6565

6666
@classmethod
6767
def memoize(cls, string: str) -> str:

lglpy/timeline/data/raw_trace.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ class MetadataWorkload:
300300
label_stack: Debug label stack, or None if no user labels.
301301
'''
302302

303-
MEMO = dict()
303+
MEMO: dict[str, str] = dict()
304304

305305
@classmethod
306306
def memoize(cls, string: str) -> str:

0 commit comments

Comments
 (0)