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 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" + ) ), ) }