diff --git a/woke/development/json_rpc/websocket.py b/woke/development/json_rpc/websocket.py index 8a4eb07e6..3b63bc7bb 100644 --- a/woke/development/json_rpc/websocket.py +++ b/woke/development/json_rpc/websocket.py @@ -23,5 +23,5 @@ def __exit__(self, exc_type, exc_val, exc_tb): self._ws.close() def send_recv(self, data: str): - self._ws.send(data) + self._ws.send(data) # pyright: ignore reportGeneralTypeIssues return json.loads(self._ws.recv()) diff --git a/woke/lsp/lsp_compiler.py b/woke/lsp/lsp_compiler.py index 2f0ea1f08..8edf18411 100644 --- a/woke/lsp/lsp_compiler.py +++ b/woke/lsp/lsp_compiler.py @@ -718,7 +718,9 @@ async def on_progress(downloaded: int, total: int) -> None: [ source_unit_name for source_unit_name in graph.nodes # pyright: ignore reportGeneralTypeIssues - if graph.nodes[source_unit_name]["path"] + if graph.nodes[source_unit_name][ + "path" + ] # pyright: ignore reportGeneralTypeIssues in files_to_compile # pyright: ignore reportGeneralTypeIssues ], )