Skip to content

Conversation

@mattseddon
Copy link
Contributor

@mattseddon mattseddon commented Aug 15, 2022

Closes #2176

Users can get into a situation where they currently have the wrong Python interpreter selected and expect the environment to auto-activate. This prompt should remind them that they need to set the correct interpreter.

Demo

Screen.Recording.2022-08-15.at.12.34.22.pm.mov

Edit: Toast updated to

image

@mattseddon mattseddon added the product PR that affects product label Aug 15, 2022
@mattseddon mattseddon self-assigned this Aug 15, 2022
@mattseddon mattseddon marked this pull request as ready for review August 15, 2022 02:56
@mattseddon mattseddon requested a review from shcheklein August 15, 2022 02:56
}
const response = await Toast.warnWithOptions(
'An error was thrown when trying to access the CLI.',
'An error was thrown when trying to access the CLI. Please ensure the correct interpreter is set for auto Python environment activation.',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[I] Needs to know whether the Python extension is installed and mutate the options accordingly

@qlty-cloud-legacy
Copy link

Code Climate has analyzed commit ae6e39f and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (85% is the threshold).

This pull request will bring the total coverage in the repository to 96.7% (0.0% change).

View more on Code Climate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

product PR that affects product

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DVC is not picked up from conda environment

2 participants