Skip to content

Commit 06f12c0

Browse files
fixed but with tuple from Any
1 parent 7db048d commit 06f12c0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mypy/cache.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ def deserialize(cls, meta: dict[str, Any], data_file: str) -> CacheMeta | None:
159159
dep_lines=meta["dep_lines"],
160160
dep_hashes=[bytes.fromhex(dep) for dep in meta["dep_hashes"]],
161161
interface_hash=bytes.fromhex(meta["interface_hash"]),
162-
error_lines=[tuple(err) for err in meta["error_lines"]],
162+
error_lines=[(*err,) for err in meta["error_lines"]],
163163
version_id=meta["version_id"],
164164
ignore_all=meta["ignore_all"],
165165
plugin_data=meta["plugin_data"],

0 commit comments

Comments
 (0)