22// Licensed under the MIT License.
33'use strict' ;
44import { inject , injectable } from 'inversify' ;
5- import { CancellationToken , Uri } from 'vscode' ;
6- import * as fs from 'fs-extra' ;
7- import * as os from 'os' ;
85import * as path from 'path' ;
6+ import { CancellationToken , Uri } from 'vscode' ;
97
108import { Cancellation } from '../../../client/common/cancellation' ;
119import { IWorkspaceService } from '../../common/application/types' ;
@@ -20,12 +18,11 @@ import {
2018 ObservableExecutionResult ,
2119 SpawnOptions
2220} from '../../common/process/types' ;
23- import { IConfigurationService , IDisposableRegistry , IDisposable } from '../../common/types' ;
21+ import { IConfigurationService , IDisposable , IDisposableRegistry } from '../../common/types' ;
2422import { IEnvironmentActivationService } from '../../interpreter/activation/types' ;
2523import { IInterpreterService , IKnownSearchPathsForInterpreters , PythonInterpreter } from '../../interpreter/contracts' ;
2624import { JupyterCommands , RegExpValues } from '../constants' ;
2725import { IJupyterCommand , IJupyterCommandFactory } from '../types' ;
28- import { string } from 'prop-types' ;
2926
3027// JupyterCommand objects represent some process that can be launched that should be guaranteed to work because it
3128// was found by testing it previously
@@ -249,7 +246,6 @@ export class JupyterCommandFactory implements IJupyterCommandFactory, IDisposabl
249246 return `${ command } :${ interpreter . path } :${ interpreter . displayName ? interpreter . displayName : interpreter . envName } ` ;
250247 }
251248
252-
253249 private supportsSearchingForCommands ( ) : boolean {
254250 if ( this . configuration ) {
255251 const settings = this . configuration . getSettings ( ) ;
0 commit comments