diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5feedec..e4717b7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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)/.* @@ -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] diff --git a/tests/test_items.py b/tests/test_items.py index 4101a41..c465898 100644 --- a/tests/test_items.py +++ b/tests/test_items.py @@ -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]