From e43e880ef83bf32e332c97e71918e5bc61f9d71b Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 13 Apr 2026 21:12:42 +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.14.11 → v0.15.10](https://github.com/astral-sh/ruff-pre-commit/compare/v0.14.11...v0.15.10) - [github.com/woodruffw/zizmor-pre-commit: v1.20.0 → v1.24.1](https://github.com/woodruffw/zizmor-pre-commit/compare/v1.20.0...v1.24.1) --- .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 f0eb83c..af29967 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -20,12 +20,12 @@ repos: - id: check-docstring-first - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.14.11 + rev: v0.15.10 hooks: - id: ruff - id: ruff-format - repo: https://github.com/woodruffw/zizmor-pre-commit - rev: v1.20.0 + rev: v1.24.1 hooks: - id: zizmor From cc12598d0bec1fe1b29002846f57099eac0a6529 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sun, 19 Apr 2026 11:11:40 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/poetry_plugin_export/exporter.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/poetry_plugin_export/exporter.py b/src/poetry_plugin_export/exporter.py index e030275..1b82b30 100644 --- a/src/poetry_plugin_export/exporter.py +++ b/src/poetry_plugin_export/exporter.py @@ -392,9 +392,9 @@ def add_file_info( for k, v in itertools.groupby( package.files, key=( - lambda x: "wheel" - if x["file"].endswith(".whl") - else "sdist" + lambda x: ( + "wheel" if x["file"].endswith(".whl") else "sdist" + ) ), ) }