Skip to content

Commit f7ad860

Browse files
authored
Merge pull request #527 from stack-of-tasks/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2 parents e3af42f + 8e500e2 commit f7ad860

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ci:
44
autoupdate_schedule: quarterly
55
repos:
66
- repo: https://github.com/astral-sh/ruff-pre-commit
7-
rev: v0.6.9
7+
rev: v0.8.6
88
hooks:
99
- id: ruff
1010
args:
@@ -18,12 +18,12 @@ repos:
1818
hooks:
1919
- id: cmake-format
2020
- repo: https://github.com/pappasam/toml-sort
21-
rev: v0.23.1
21+
rev: v0.24.2
2222
hooks:
2323
- id: toml-sort-fix
2424
exclude: pixi.toml
2525
- repo: https://github.com/pre-commit/mirrors-clang-format
26-
rev: v19.1.1
26+
rev: v19.1.6
2727
hooks:
2828
- id: clang-format
2929
args:

unittest/python/test_std_array.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
ref = [1, 2, 3]
1616
assert len(ref[1:2]) == 1 # sanity check
1717

18-
assert len(_ints_slice) == 2, "Slice size should be 1, got %d" % len(_ints_slice)
18+
assert len(_ints_slice) == 2, f"Slice size should be 1, got {len(_ints_slice)}"
1919
assert _ints_slice[0] == 2
2020
assert _ints_slice[1] == 3
2121

0 commit comments

Comments
 (0)