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 4f3c9b5 commit c8916f2
Show file tree
Hide file tree
Showing 2 changed files with 4 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())
4 changes: 3 additions & 1 deletion woke/lsp/lsp_compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
],
)
Expand Down

0 comments on commit c8916f2

Please sign in to comment.