mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-06 16:40:39 +00:00
[ty] Use python version and path from Python extension (#19012)
This commit is contained in:
parent
26f736bc46
commit
90026047f9
22 changed files with 344 additions and 99 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue