mirror of https://github.com/astral-sh/ruff
[red-knot] Improve log message for default python platform (#17700)
This commit is contained in:
parent
5096824793
commit
c953e7d143
|
|
@ -68,9 +68,7 @@ impl Options {
|
||||||
.and_then(|env| env.python_platform.as_deref().cloned())
|
.and_then(|env| env.python_platform.as_deref().cloned())
|
||||||
.unwrap_or_else(|| {
|
.unwrap_or_else(|| {
|
||||||
let default = PythonPlatform::default();
|
let default = PythonPlatform::default();
|
||||||
tracing::info!(
|
tracing::info!("Defaulting to python-platform `{default}`");
|
||||||
"Defaulting to default python version for this platform: '{default}'",
|
|
||||||
);
|
|
||||||
default
|
default
|
||||||
});
|
});
|
||||||
ProgramSettings {
|
ProgramSettings {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue