From b9b3e6be72b715c179cc5e5129e9ae80a73ff39d Mon Sep 17 00:00:00 2001 From: Moosems <95927277+Moosems@users.noreply.github.com> Date: Fri, 9 Aug 2024 14:55:02 -0500 Subject: [PATCH] Make pyright happy --- albero/ipc.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/albero/ipc.py b/albero/ipc.py index e4bf08a..f43760e 100644 --- a/albero/ipc.py +++ b/albero/ipc.py @@ -51,16 +51,16 @@ def remove_file(server: "IPCHighlightServer", request: Request) -> None: def update_mapping(server: "IPCHighlightServer", request: Request) -> None: server.highlighter.update_mapping( - request["language_name"], request["mapping"] - ) # type: ignore + request["language_name"], request["mapping"] # type: ignore + ) def get_highlights( server: "IPCHighlightServer", request: Request ) -> list[Token]: return server.highlighter.get_highlights( - request["file_name"], request["text_range"] - ) # type: ignore + request["file_name"], request["text_range"] # type: ignore + ) class IPCHighlighter(SimpleClient):