mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-30 05:45:24 +00:00
Fallback to requires-python in certain cases when target-version is not found (#16721)
## Summary Restores https://github.com/astral-sh/ruff/pull/16319 after it got dropped from the 0.10 release branch :( --------- Co-authored-by: dylwil3 <dylwil3@gmail.com>
This commit is contained in:
parent
2382fe1f25
commit
595565015b
10 changed files with 2915 additions and 66 deletions
|
@ -64,6 +64,8 @@ pub(crate) fn init_logging(log_level: LogLevel, log_file: Option<&std::path::Pat
|
|||
|
||||
tracing::subscriber::set_global_default(subscriber)
|
||||
.expect("should be able to set global default subscriber");
|
||||
|
||||
tracing_log::LogTracer::init().unwrap();
|
||||
}
|
||||
|
||||
/// The log level for the server as provided by the client during initialization.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue