Skip to content

Commit 5c8c4ab

Browse files
committed
Autoformat venv locator
1 parent 557249b commit 5c8c4ab

File tree

1 file changed

+1
-2
lines changed
  • src/client/pythonEnvironments/discovery/locators/services

1 file changed

+1
-2
lines changed

src/client/pythonEnvironments/discovery/locators/services/venvLocator.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,12 @@
44
import * as path from 'path';
55
import { pathExists } from '../../../common/externalDependencies';
66

7-
87
/**
98
* Checks if the given interpreter belongs to a venv based environment.
109
* @param {string} interpreterPath: Absolute path to the python interpreter.
1110
* @returns {boolean} : Returns true if the interpreter belongs to a venv environment.
1211
*/
13-
export async function isVenvEnvironment(interpreterPath:string): Promise<boolean>{
12+
export async function isVenvEnvironment(interpreterPath:string): Promise<boolean> {
1413
const pyvenvConfigFile = 'pyvenv.cfg';
1514

1615
// Check if the pyvenv.cfg file is in the directory as the interpreter.

0 commit comments

Comments
 (0)