Commit 26ca99e 1 parent ac8f0bc commit 26ca99e Copy full SHA for 26ca99e
File tree 1 file changed +4
-2
lines changed
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(
96
96
)
97
97
return result
98
98
99
- async def update_errors (self , document_path ) -> None :
99
+ async def update_errors (self , document_path : Path ) -> None :
100
100
await _publish_diagnostics (self .output_channel , document_path , [])
101
101
pyre_connection = api_connection .PyreConnection (
102
102
Path (self .pyre_arguments .global_root )
@@ -136,7 +136,9 @@ async def log_and_show_message_to_client(
136
136
LOG .debug (message )
137
137
await self .show_message_to_client (message , level )
138
138
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 :
140
142
for path , diagnostic in diagnostics .items ():
141
143
await _publish_diagnostics (self .output_channel , path , [])
142
144
if diagnostic is not None :
You can’t perform that action at this time.
0 commit comments