File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ def invalid_models_to_diagnostics(
9696 )
9797 return result
9898
99- async def update_errors (self , document_path ) -> None :
99+ async def update_errors (self , document_path : Path ) -> None :
100100 await _publish_diagnostics (self .output_channel , document_path , [])
101101 pyre_connection = api_connection .PyreConnection (
102102 Path (self .pyre_arguments .global_root )
@@ -136,7 +136,9 @@ async def log_and_show_message_to_client(
136136 LOG .debug (message )
137137 await self .show_message_to_client (message , level )
138138
139- async def show_model_errors_to_client (self , diagnostics ) -> None :
139+ async def show_model_errors_to_client (
140+ self , diagnostics : Dict [Path , List [lsp .Diagnostic ]]
141+ ) -> None :
140142 for path , diagnostic in diagnostics .items ():
141143 await _publish_diagnostics (self .output_channel , path , [])
142144 if diagnostic is not None :
You can’t perform that action at this time.
0 commit comments