Skip to content

Commit 95a821e

Browse files
authored
Update util.py
1 parent 52b6db2 commit 95a821e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypy/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -935,7 +935,7 @@ def json_dumps(obj: object, debug: bool = False) -> bytes:
935935
dumps_option = orjson.OPT_SORT_KEYS
936936

937937
try:
938-
return orjson.dumps(obj, option=dumps_option)
938+
return orjson.dumps(obj, option=dumps_option) # type: ignore[no-any-return]
939939
except TypeError as e:
940940
if str(e) == 'Integer exceeds 64-bit range':
941941
# use stdlib json below

0 commit comments

Comments
 (0)