Skip to content

Commit 69a40ff

Browse files
committed
stop autoFindProjects from finding in .venv
1 parent 6170c64 commit 69a40ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/features/creators/autoFindProjects.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export class AutoFindProjects implements PythonProjectCreator {
5757
constructor(private readonly pm: PythonProjectManager) {}
5858

5959
async create(_options?: PythonProjectCreatorOptions): Promise<PythonProject | PythonProject[] | undefined> {
60-
const files = await findFiles('**/{pyproject.toml,setup.py}');
60+
const files = await findFiles('**/{pyproject.toml,setup.py}', '**/.venv/**');
6161
if (!files || files.length === 0) {
6262
setImmediate(() => {
6363
showErrorMessage('No projects found');

0 commit comments

Comments
 (0)