Skip to content

Commit 9ebc486

Browse files
[pre-commit.ci] pre-commit autoupdate (#361)
1 parent ac66c08 commit 9ebc486

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ repos:
2020
- id: check-docstring-first
2121

2222
- repo: https://github.com/astral-sh/ruff-pre-commit
23-
rev: v0.14.11
23+
rev: v0.15.10
2424
hooks:
2525
- id: ruff
2626
- id: ruff-format
2727

2828
- repo: https://github.com/woodruffw/zizmor-pre-commit
29-
rev: v1.20.0
29+
rev: v1.24.1
3030
hooks:
3131
- id: zizmor

src/poetry_plugin_export/exporter.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -392,9 +392,9 @@ def add_file_info(
392392
for k, v in itertools.groupby(
393393
package.files,
394394
key=(
395-
lambda x: "wheel"
396-
if x["file"].endswith(".whl")
397-
else "sdist"
395+
lambda x: (
396+
"wheel" if x["file"].endswith(".whl") else "sdist"
397+
)
398398
),
399399
)
400400
}

0 commit comments

Comments
 (0)