Skip to content

Commit

Permalink
Do not recommend Python2 as an interpreter
Browse files Browse the repository at this point in the history
  • Loading branch information
Kartik Raj committed Feb 2, 2023
1 parent 7fb72b7 commit 1078647
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ export class EnvironmentTypeComparer implements IInterpreterComparer {
// We're not sure if these envs were created for the workspace, so do not recommend them.
return false;
}
if (i.version?.major === 2) {
return false;
}
return true;
});
filteredInterpreters.sort(this.compare.bind(this));
Expand Down

0 comments on commit 1078647

Please sign in to comment.