From e43288dd7779097bcbdfc78a91a1b2f206583043 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 28 Jan 2025 11:18:32 -0500 Subject: [PATCH] [pre-commit.ci] pre-commit autoupdate (#2255) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.9.2 → v0.9.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.9.2...v0.9.3) - [github.com/codespell-project/codespell: v2.3.0 → v2.4.0](https://github.com/codespell-project/codespell/compare/v2.3.0...v2.4.0) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update .pre-commit-config.yaml --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Henry Schreiner --- .pre-commit-config.yaml | 6 +++--- cibuildwheel/oci_container.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 96699a70a..fb766725e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.9.2 + rev: v0.9.3 hooks: - id: ruff args: ["--fix", "--show-fixes"] @@ -73,10 +73,10 @@ repos: files: ^docs/changelog.md$ - repo: https://github.com/codespell-project/codespell - rev: v2.3.0 + rev: v2.4.0 hooks: - id: codespell - args: ["-L", "sur,assertin", "-w"] + args: ["-L", "sur,assertin,hep", "-w"] exclude: ^docs/working-examples\.md$ # Autogenerated diff --git a/cibuildwheel/oci_container.py b/cibuildwheel/oci_container.py index bd1373ef4..207177dfd 100644 --- a/cibuildwheel/oci_container.py +++ b/cibuildwheel/oci_container.py @@ -193,7 +193,7 @@ def _get_platform_args(self, *, oci_platform: OCIPlatform | None = None) -> tupl if oci_platform is None: oci_platform = self.oci_platform - # we need '--pull=always' otherwise some images with the wrong platform get re-used (e.g. 386 image for amd64) + # we need '--pull=always' otherwise some images with the wrong platform get reused (e.g. 386 image for amd64) # c.f. https://github.com/moby/moby/issues/48197#issuecomment-2282802313 pull = "always" try: