Deny stdout/stderr printing in uv crate via clippy (#16695)

Follow-up from https://github.com/astral-sh/uv/pull/16690, in `uv` every
command should be using `write!(...)/writeln!(...)` with the `Printer`
abstraction instead of bypassing control with the standard printing
functions. This lint ensures that.
This commit is contained in:
liam 2025-11-12 08:54:52 -05:00 committed by GitHub
parent 2de987ed37
commit d32cc638d1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,3 +1,5 @@
#![deny(clippy::print_stdout, clippy::print_stderr)]
use std::borrow::Cow;
use std::ffi::OsString;
use std::fmt::Write;