@@ -95,7 +95,8 @@ public boolean equals(Object obj) {
9595 return false ;
9696 }
9797 ModuleLineCol other = (ModuleLineCol ) obj ;
98- return col == other .col && endCol == other .endCol && endLine == other .endLine && line == other .line && Objects .equals (moduleFile , other .moduleFile );
98+ return col == other .col && endCol == other .endCol && endLine == other .endLine && line == other .line
99+ && Objects .equals (moduleFile , other .moduleFile );
99100 }
100101
101102 }
@@ -193,9 +194,9 @@ void createPyrightProcess(IExternalCodeAnalysisStream out)
193194 }
194195 cmdList .add (0 , "pyright" );
195196 String [] args = cmdList .toArray (new String [0 ]);
196- WriteToStreamHelper .write ("Pyright: Executing command line:" , out , "python" , "-m" , args );
197197 SimplePythonRunner runner = new SimplePythonRunner ();
198198 String [] parameters = SimplePythonRunner .preparePythonCallParameters (interpreter , "-m" , args );
199+ WriteToStreamHelper .write ("MyPy: Executing command line:" , out , StringUtils .join (" " , parameters ));
199200
200201 Tuple <Process , String > r = runner .run (parameters , workingDir , nature , monitor , null );
201202 return r .o1 ;
@@ -471,7 +472,8 @@ public void afterRunProcess(String output, String errors, IExternalCodeAnalysisS
471472 MessageInfo messageInfo = moduleLineColToMessage .get (moduleLineCol );
472473 if (messageInfo == null ) {
473474 messageInfo = new MessageInfo (message , markerSeverity , messageId , line , column ,
474- endLine , endColumn , document .get (region .getOffset (), region .getLength ()), moduleFile , document );
475+ endLine , endColumn , document .get (region .getOffset (), region .getLength ()), moduleFile ,
476+ document );
475477 moduleLineColToMessage .put (moduleLineCol , messageInfo );
476478 } else {
477479 messageInfo .addMessageLine (message );
@@ -491,7 +493,8 @@ public void afterRunProcess(String output, String errors, IExternalCodeAnalysisS
491493 }
492494 }
493495
494- private void addToMarkers (String tok , int priority , String id , int line , int column , int endLine , int endColumn , String lineContents ,
496+ private void addToMarkers (String tok , int priority , String id , int line , int column , int endLine , int endColumn ,
497+ String lineContents ,
495498 IFile moduleFile , IDocument document ) {
496499 Map <String , Object > additionalInfo = new HashMap <>();
497500 additionalInfo .put (PyrightVisitor .PYRIGHT_MESSAGE_ID , id );
0 commit comments