Skip to content

Commit 04b8f69

Browse files
[pre-commit.ci] pre-commit autoupdate (#546)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Tobias Raabe <[email protected]>
1 parent d625ae4 commit 04b8f69

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.pre-commit-config.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,13 @@ repos:
4545
hooks:
4646
- id: sort-all
4747
- repo: https://github.com/astral-sh/ruff-pre-commit
48-
rev: v0.1.9
48+
rev: v0.1.11
4949
hooks:
5050
- id: ruff-format
5151
- id: ruff
5252
args: [--unsafe-fixes]
5353
- repo: https://github.com/dosisod/refurb
54-
rev: v1.26.0
54+
rev: v1.27.0
5555
hooks:
5656
- id: refurb
5757
args: [--ignore, FURB126]

src/_pytask/live.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ def _generate_table(
207207
relevant_reports = []
208208

209209
if sort_table:
210-
relevant_reports = sorted(relevant_reports, key=lambda report: report.name)
210+
relevant_reports.sort(key=lambda report: report.name)
211211

212212
table: Table | None
213213
if add_caption:

0 commit comments

Comments
 (0)