Skip to content

Commit b4d1e17

Browse files
[pre-commit.ci] pre-commit autoupdate (#2054)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.6.9 → v0.7.0](astral-sh/ruff-pre-commit@v0.6.9...v0.7.0) - [github.com/pre-commit/mirrors-mypy: v1.11.2 → v1.12.1](pre-commit/mirrors-mypy@v1.11.2...v1.12.1) * chore: mypy bug fixed Signed-off-by: Henry Schreiner <[email protected]> --------- Signed-off-by: Henry Schreiner <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Henry Schreiner <[email protected]>
1 parent 4e93d91 commit b4d1e17

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ repos:
1414
- id: trailing-whitespace
1515

1616
- repo: https://github.com/astral-sh/ruff-pre-commit
17-
rev: v0.6.9
17+
rev: v0.7.0
1818
hooks:
1919
- id: ruff
2020
args: ["--fix", "--show-fixes"]
2121
- id: ruff-format
2222

2323
- repo: https://github.com/pre-commit/mirrors-mypy
24-
rev: v1.11.2
24+
rev: v1.12.1
2525
hooks:
2626
- id: mypy
2727
name: mypy 3.8 on cibuildwheel/

cibuildwheel/oci_container.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,8 +365,7 @@ def copy_into(self, from_path: Path, to_path: PurePath) -> None:
365365
) as exec_process:
366366
assert exec_process.stdin
367367
with open(from_path, "rb") as from_file:
368-
# Bug in mypy, https://github.com/python/mypy/issues/15031
369-
shutil.copyfileobj(from_file, exec_process.stdin) # type: ignore[misc]
368+
shutil.copyfileobj(from_file, exec_process.stdin)
370369

371370
exec_process.stdin.close()
372371
exec_process.wait()

0 commit comments

Comments
 (0)