Skip to content

Commit

Permalink
chore: mypy bug fixed
Browse files Browse the repository at this point in the history
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
  • Loading branch information
henryiii committed Oct 21, 2024
1 parent 75a2cad commit f46fc37
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cibuildwheel/oci_container.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,8 +365,7 @@ def copy_into(self, from_path: Path, to_path: PurePath) -> None:
) as exec_process:
assert exec_process.stdin
with open(from_path, "rb") as from_file:
# Bug in mypy, https://github.com/python/mypy/issues/15031
shutil.copyfileobj(from_file, exec_process.stdin) # type: ignore[misc]
shutil.copyfileobj(from_file, exec_process.stdin)

exec_process.stdin.close()
exec_process.wait()
Expand Down

0 comments on commit f46fc37

Please sign in to comment.