From 9042b9089c130299ff7844d5275c20ccd340425b Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 22 Jun 2026 16:51:49 +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/tox-dev/pyproject-fmt: v2.24.1 → v2.25.0](https://github.com/tox-dev/pyproject-fmt/compare/v2.24.1...v2.25.0) - [github.com/astral-sh/ruff-pre-commit: v0.15.17 → v0.15.18](https://github.com/astral-sh/ruff-pre-commit/compare/v0.15.17...v0.15.18) - [github.com/zizmorcore/zizmor-pre-commit: v1.25.2 → v1.26.1](https://github.com/zizmorcore/zizmor-pre-commit/compare/v1.25.2...v1.26.1) --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 359e89a..6150c4a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,11 +15,11 @@ repos: - id: codespell additional_dependencies: ["tomli>=2.4"] - repo: https://github.com/tox-dev/pyproject-fmt - rev: "v2.24.1" + rev: "v2.25.0" hooks: - id: pyproject-fmt - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.15.17" + rev: "v0.15.18" hooks: - id: ruff-format - id: ruff @@ -32,7 +32,7 @@ repos: - prettier@3.8.1 - "@prettier/plugin-xml@3.4.2" - repo: https://github.com/zizmorcore/zizmor-pre-commit - rev: v1.25.2 + rev: v1.26.1 hooks: - id: zizmor - repo: meta From c5e9036c933e2465a52bb2bef39e2e6f0ed55ca5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bern=C3=A1t=20G=C3=A1bor?= Date: Tue, 23 Jun 2026 18:41:48 -0700 Subject: [PATCH 2/2] Reword property docstring to satisfy ruff New ruff flags property-docstring-starts-with-verb; drop the leading verb. --- src/python_discovery/_py_info.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python_discovery/_py_info.py b/src/python_discovery/_py_info.py index a98a87a..893bc02 100644 --- a/src/python_discovery/_py_info.py +++ b/src/python_discovery/_py_info.py @@ -429,7 +429,7 @@ def __str__(self) -> str: @property def machine(self) -> str: - """Return the instruction set architecture (ISA) derived from :func:`sysconfig.get_platform`.""" + """The instruction set architecture (ISA) derived from :func:`sysconfig.get_platform`.""" plat = self.sysconfig_platform if plat is None: return "unknown"