From 74bccbc563ee066288d81023b2c4967066994631 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20P=C5=99evr=C3=A1til?= Date: Mon, 17 Jul 2023 13:42:50 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A8=20Ignore=20linter=20errors?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- woke/development/json_rpc/websocket.py | 2 +- woke/lsp/lsp_compiler.py | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) 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..6f1704b0b 100644 --- a/woke/lsp/lsp_compiler.py +++ b/woke/lsp/lsp_compiler.py @@ -718,7 +718,11 @@ 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[ # pyright: ignore reportGeneralTypeIssues + source_unit_name + ][ # pyright: ignore reportGeneralTypeIssues + "path" + ] in files_to_compile # pyright: ignore reportGeneralTypeIssues ], )