Skip to content

Commit ade95b7

Browse files
[pre-commit.ci] pre-commit autoupdate (#2746)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.15.0 → v0.15.2](astral-sh/ruff-pre-commit@v0.15.0...v0.15.2) - [github.com/python-jsonschema/check-jsonschema: 0.36.1 → 0.36.2](python-jsonschema/check-jsonschema@0.36.1...0.36.2) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent bb15304 commit ade95b7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.pre-commit-config.yaml

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

1616
- repo: https://github.com/astral-sh/ruff-pre-commit
17-
rev: v0.15.0
17+
rev: v0.15.2
1818
hooks:
1919
- id: ruff-check
2020
args: ["--fix", "--show-fixes"]
@@ -83,7 +83,7 @@ repos:
8383

8484

8585
- repo: https://github.com/python-jsonschema/check-jsonschema
86-
rev: 0.36.1
86+
rev: 0.36.2
8787
hooks:
8888
- id: check-dependabot
8989
- id: check-github-actions

cibuildwheel/selector.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class BuildSelector:
7575
def __call__(self, build_id: str) -> bool:
7676
# Filter build selectors by python_requires if set
7777
if self.requires_python is not None:
78-
py_ver_str = build_id.split("-", maxsplit=1)[0].split("_")[0]
78+
py_ver_str = build_id.split("-", maxsplit=1)[0].split("_", maxsplit=1)[0]
7979
py_ver_str = py_ver_str.removesuffix("t")
8080
major = int(py_ver_str[2])
8181
minor = int(py_ver_str[3:])

0 commit comments

Comments
 (0)