diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 909c935..e80ecaa 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -16,14 +16,14 @@ repos: - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.4.10 + rev: v0.5.0 hooks: - id: ruff args: [--fix, --show-fixes] - id: ruff-format - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.10.0 + rev: v1.10.1 hooks: - id: mypy additional_dependencies: diff --git a/tests/test_decoder.py b/tests/test_decoder.py index 485c604..25e0c6b 100644 --- a/tests/test_decoder.py +++ b/tests/test_decoder.py @@ -831,14 +831,14 @@ def test_load_from_file(impl, tmpdir): def test_nested_dict(impl): value = impl.loads(unhexlify("A1D9177082010201")) - assert type(value) is dict # noqa: E721 + assert type(value) is dict assert value == {impl.CBORTag(6000, (1, 2)): 1} def test_set(impl): payload = unhexlify("d9010283616361626161") value = impl.loads(payload) - assert type(value) is set # noqa: E721 + assert type(value) is set assert value == {"a", "b", "c"}