Skip to content

Commit 65aefba

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 1105aa8 commit 65aefba

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mypyc/codegen/emit.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1241,5 +1241,6 @@ class _mypyc_safe_key(pprint._safe_key):
12411241
"""A custom sort key implementation for pprint that makes the output deterministic
12421242
for all literal types supported by mypyc
12431243
"""
1244-
def __lt__(self, other: "_mypyc_safe_key") -> bool:
1244+
1245+
def __lt__(self, other: _mypyc_safe_key) -> bool:
12451246
return str(type(self.obj)) + repr(self.obj) < str(type(other.obj)) + repr(other.obj)

0 commit comments

Comments
 (0)