diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d247e4d..86c8f49 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,14 +18,14 @@ repos: hooks: - id: codespell - repo: 'https://github.com/astral-sh/ruff-pre-commit' - rev: v0.15.8 + rev: v0.15.9 hooks: - id: ruff args: - '--fix' - id: ruff-format - repo: 'https://github.com/pre-commit/mirrors-mypy' - rev: v1.19.1 + rev: v1.20.0 hooks: - id: mypy additional_dependencies: diff --git a/tests/plugins/distributed_test.py b/tests/plugins/distributed_test.py index 6cd80dd..39df99e 100644 --- a/tests/plugins/distributed_test.py +++ b/tests/plugins/distributed_test.py @@ -174,6 +174,7 @@ def _factory() -> str: # The target is already set by default del x.__proxy_target__ assert x == test_obj + assert isinstance(x, Proxy) assert not store.exists(get_key(x)) @@ -238,6 +239,7 @@ def _foo(a: int, b: str, *, c: int, d: str) -> str: # The target is already set by default del result.__proxy_target__ assert result == '1bbbbbbbbbb2dddddddddd' + assert isinstance(result, Proxy) assert not store.exists(get_key(result))