@@ -34,6 +34,7 @@ import { ServiceManager } from './ioc/serviceManager';
3434import { IServiceContainer } from './ioc/types' ;
3535import { JupyterProvider } from './jupyter/provider' ;
3636import { JediFactory } from './languageServices/jediProxyFactory' ;
37+ import { LinterCommands } from './linters/linterCommands' ;
3738import { registerTypes as lintersRegisterTypes } from './linters/serviceRegistry' ;
3839import { PythonCompletionItemProvider } from './providers/completionProvider' ;
3940import { PythonDefinitionProvider } from './providers/definitionProvider' ;
@@ -102,7 +103,8 @@ export async function activate(context: vscode.ExtensionContext) {
102103 const interpreterManager = serviceContainer . get < IInterpreterService > ( IInterpreterService ) ;
103104
104105 const pythonInstaller = new PythonInstaller ( serviceContainer ) ;
105- await pythonInstaller . checkPythonInstallation ( PythonSettings . getInstance ( ) ) ;
106+ pythonInstaller . checkPythonInstallation ( PythonSettings . getInstance ( ) )
107+ . catch ( ex => console . error ( 'Python Extension: pythonInstaller.checkPythonInstallation' , ex ) ) ;
106108
107109 // This must be completed before we can continue.
108110 await interpreterManager . autoSetInterpreter ( ) ;
@@ -120,6 +122,7 @@ export async function activate(context: vscode.ExtensionContext) {
120122
121123 context . subscriptions . push ( new ReplProvider ( serviceContainer ) ) ;
122124 context . subscriptions . push ( new TerminalProvider ( serviceContainer ) ) ;
125+ context . subscriptions . push ( new LinterCommands ( serviceContainer ) ) ;
123126
124127 // Enable indentAction
125128 // tslint:disable-next-line:no-non-null-assertion
0 commit comments