@@ -44,7 +44,9 @@ export class PytestInstallationHelper {
4444 return this . installPytestWithEnvExtension ( workspaceUri ) ;
4545 } else {
4646 // Fall back to traditional installer if environments extension is not available
47- traceInfo ( 'Python Environments extension not available, installation cannot proceed via environment extension' ) ;
47+ traceInfo (
48+ 'Python Environments extension not available, installation cannot proceed via environment extension' ,
49+ ) ;
4850 return false ;
4951 }
5052 } catch ( error ) {
@@ -66,7 +68,7 @@ export class PytestInstallationHelper {
6668 if ( ! environment ) {
6769 traceError ( 'No Python environment found for workspace:' , workspaceUri . fsPath ) ;
6870 await this . appShell . showErrorMessage (
69- l10n . t ( 'No Python environment found. Please set up a Python environment first.' )
71+ l10n . t ( 'No Python environment found. Please set up a Python environment first.' ) ,
7072 ) ;
7173 return false ;
7274 }
@@ -77,13 +79,9 @@ export class PytestInstallationHelper {
7779 } ) ;
7880
7981 traceInfo ( 'pytest installation completed successfully' ) ;
80- await this . appShell . showInformationMessage ( l10n . t ( 'pytest has been installed successfully.' ) ) ;
8182 return true ;
8283 } catch ( error ) {
8384 traceError ( 'Failed to install pytest using Python Environments extension:' , error ) ;
84- await this . appShell . showErrorMessage (
85- l10n . t ( 'Failed to install pytest. Please install it manually or check your Python environment.' )
86- ) ;
8785 return false ;
8886 }
8987 }
@@ -95,4 +93,4 @@ export class PytestInstallationHelper {
9593 isEnvExtensionAvailable ( ) : boolean {
9694 return useEnvExtension ( ) ;
9795 }
98- }
96+ }
0 commit comments