From 075b5c8881411132abd42bd5318d7fc0d7cd5cef Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 7 Apr 2026 14:46:13 +0530 Subject: [PATCH] [pre-commit.ci] pre-commit autoupdate (#2813) Co-authored-by: henryiii <4616906+henryiii@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Henry Schreiner --- .pre-commit-config.yaml | 6 +++--- cibuildwheel/selector.py | 3 +-- pyproject.toml | 1 - 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a099e38e..446af744 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -16,14 +16,14 @@ repos: - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: 4924b0e01e032fea073ad04a1c5cfa7e4add0afb # frozen: v0.15.6 + rev: c60c980e561ed3e73101667fe8365c609d19a438 # frozen: v0.15.9 hooks: - id: ruff-check args: ["--fix"] - id: ruff-format - repo: https://github.com/pre-commit/mirrors-mypy - rev: a66e98df7b4aeeb3724184b332785976d062b92e # frozen: v1.19.1 + rev: 8e5c80792e2ec0c87804d8ef915bf35e2caea6da # frozen: v1.20.0 hooks: - id: mypy name: mypy 3.11 on cibuildwheel/ @@ -85,7 +85,7 @@ repos: - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 9f48a48aa91a6040d749ad68ec70907d907a5a7f # frozen: 0.37.0 + rev: ed81924a8b1cecdaa570b072528fa80c9c4d6ccd # frozen: 0.37.1 hooks: - id: check-dependabot - id: check-github-actions diff --git a/cibuildwheel/selector.py b/cibuildwheel/selector.py index 80dc0309..8b390e98 100644 --- a/cibuildwheel/selector.py +++ b/cibuildwheel/selector.py @@ -38,8 +38,7 @@ class EnableGroup(StrEnum): @classmethod def all_groups(cls) -> frozenset[Self]: - # see https://github.com/python/mypy/issues/20434 for the reason to type: ignore[arg-type] - return frozenset(set(cls) - {cls.CPythonFreeThreading}) # type: ignore[arg-type] + return frozenset(set(cls) - {cls.CPythonFreeThreading}) @classmethod def parse_option_value(cls, value: str) -> frozenset[Self]: diff --git a/pyproject.toml b/pyproject.toml index 6315edf9..896c037c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -138,7 +138,6 @@ module = [ "setuptools._distutils.util", "bashlex", "bashlex.*", - "importlib_resources", ] ignore_missing_imports = true