From d32cc638d1b2981ea5030de7962f27554a0ac63a Mon Sep 17 00:00:00 2001 From: liam Date: Wed, 12 Nov 2025 08:54:52 -0500 Subject: [PATCH] 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. --- crates/uv/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/uv/src/lib.rs b/crates/uv/src/lib.rs index bf7bde120..1eb09cb97 100644 --- a/crates/uv/src/lib.rs +++ b/crates/uv/src/lib.rs @@ -1,3 +1,5 @@ +#![deny(clippy::print_stdout, clippy::print_stderr)] + use std::borrow::Cow; use std::ffi::OsString; use std::fmt::Write;