[ty] Use python version and path from Python extension (#19012)

This commit is contained in:
Micha Reiser 2025-07-14 11:47:27 +02:00 committed by GitHub
parent 26f736bc46
commit 90026047f9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 344 additions and 99 deletions

View file

@ -113,6 +113,9 @@ pub enum PythonVersionSource {
/// long argument (`--extra-paths`) or `--config key=value`.
Cli,
/// The value comes from the Python VS Code extension (the selected interpreter).
PythonVSCodeExtension,
/// We fell back to a default value because the value was not specified via the CLI or a config file.
#[default]
Default,