From c4a2392ff70549401e41cf3a007cac892591675d Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 9 Oct 2024 09:44:46 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- pycrdt_websocket/yroom.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pycrdt_websocket/yroom.py b/pycrdt_websocket/yroom.py index d789661..46c0085 100644 --- a/pycrdt_websocket/yroom.py +++ b/pycrdt_websocket/yroom.py @@ -21,10 +21,10 @@ Subscription, YMessageType, YSyncMessageType, + create_awareness_message, create_sync_message, create_update_message, handle_sync_message, - create_awareness_message, ) from .websocket import Websocket @@ -317,7 +317,7 @@ def local_update_awareness(self, type: str, changes: dict[str, Any]) -> None: if self._task_group is not None: updated_clients = [ *changes[0].get("added", []), - *changes[0].get("filtered_updated", []) + *changes[0].get("filtered_updated", []), ] state = self.awareness.encode_awareness_update(updated_clients) message = create_awareness_message(state)