Skip to content

Commit 87ace5e

Browse files
[pre-commit.ci] pre-commit autoupdate (#438)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/pre-commit/pre-commit-hooks: v5.0.0 → v6.0.0](pre-commit/pre-commit-hooks@v5.0.0...v6.0.0) - [github.com/asottile/pyupgrade: v3.20.0 → v3.21.0](asottile/pyupgrade@v3.20.0...v3.21.0) - [github.com/astral-sh/ruff-pre-commit: v0.12.3 → v0.14.2](astral-sh/ruff-pre-commit@v0.12.3...v0.14.2) * fix: suppress lint warning in test_aot_unwrap function Signed-off-by: Frost Ming <[email protected]> --------- Signed-off-by: Frost Ming <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Frost Ming <[email protected]>
1 parent 3687d0d commit 87ace5e

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
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v5.0.0
3+
rev: v6.0.0
44
hooks:
55
- id: trailing-whitespace
66
exclude: ^tests/(toml-test|toml-spec-tests)/.*
@@ -9,13 +9,13 @@ repos:
99
- id: debug-statements
1010

1111
- repo: https://github.com/asottile/pyupgrade
12-
rev: v3.20.0
12+
rev: v3.21.0
1313
hooks:
1414
- id: pyupgrade
1515
args: [--py37-plus]
1616

1717
- repo: https://github.com/astral-sh/ruff-pre-commit
18-
rev: 'v0.12.3'
18+
rev: 'v0.14.2'
1919
hooks:
2020
- id: ruff
2121
args: [--fix, --exit-non-zero-on-fix, --show-fixes]

tests/test_items.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def test_aot_unwrap():
121121
d = item([{"a": "A"}, {"b": "B"}])
122122
unwrapped = d.unwrap()
123123
assert_is_ppo(unwrapped, list)
124-
for du, _ in zip(unwrapped, d):
124+
for du, _ in zip(unwrapped, d): # noqa: B905
125125
assert_is_ppo(du, dict)
126126
for ku in du:
127127
vu = du[ku]

0 commit comments

Comments
 (0)