From dec1b8bbaaf67f7ec36ca600811de9f6184f9300 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 22 Jul 2024 19:58:44 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.5.2 → v0.5.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.5.2...v0.5.4) - [github.com/pre-commit/mirrors-mypy: v1.10.1 → v1.11.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.10.1...v1.11.0) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index fe8f4bda1..908d26fcd 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,14 +14,14 @@ repos: - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.5.2 + rev: v0.5.4 hooks: - id: ruff args: ["--fix", "--show-fixes"] - id: ruff-format - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.10.1 + rev: v1.11.0 hooks: - id: mypy name: mypy 3.8 on cibuildwheel/ From 6a5afd614bc69b47eb076b0845306f9daf328492 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Mon, 22 Jul 2024 23:04:28 -0400 Subject: [PATCH 2/2] chore: type ignore no longer needed --- cibuildwheel/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cibuildwheel/__main__.py b/cibuildwheel/__main__.py index a409d725b..7a2740917 100644 --- a/cibuildwheel/__main__.py +++ b/cibuildwheel/__main__.py @@ -319,7 +319,7 @@ def build_in_directory(args: CommandLineArguments) -> None: # Python is buffering by default when running on the CI platforms, giving # problems interleaving subprocess call output with unflushed calls to # 'print' - sys.stdout = Unbuffered(sys.stdout) # type: ignore[assignment] + sys.stdout = Unbuffered(sys.stdout) # create the cache dir before it gets printed & builds performed CIBW_CACHE_PATH.mkdir(parents=True, exist_ok=True)