Skip to content

Commit

Permalink
🚨 Ignore linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
michprev committed Jul 17, 2023
1 parent 92fe09e commit 74bccbc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion woke/development/json_rpc/websocket.py
Original file line number Diff line number Diff line change
Expand Up @@ -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())
6 changes: 5 additions & 1 deletion woke/lsp/lsp_compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
],
)
Expand Down

0 comments on commit 74bccbc

Please sign in to comment.