Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
rev: v6.0.0
hooks:
- id: trailing-whitespace
exclude: ^tests/(toml-test|toml-spec-tests)/.*
Expand All @@ -9,13 +9,13 @@ repos:
- id: debug-statements

- repo: https://github.com/asottile/pyupgrade
rev: v3.20.0
rev: v3.21.0
hooks:
- id: pyupgrade
args: [--py37-plus]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: 'v0.12.3'
rev: 'v0.14.2'
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix, --show-fixes]
Expand Down
2 changes: 1 addition & 1 deletion tests/test_items.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def test_aot_unwrap():
d = item([{"a": "A"}, {"b": "B"}])
unwrapped = d.unwrap()
assert_is_ppo(unwrapped, list)
for du, _ in zip(unwrapped, d):
for du, _ in zip(unwrapped, d): # noqa: B905
assert_is_ppo(du, dict)
for ku in du:
vu = du[ku]
Expand Down
Loading