Skip to content

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

Merged
zanieb merged 1 commit intoastral-sh:mainfrom
terror:uv-deny-println
Nov 12, 2025
Merged

Deny stdout/stderr printing in uv crate via clippy#16695
zanieb merged 1 commit intoastral-sh:mainfrom
terror:uv-deny-println

Conversation

@terror
Copy link
Contributor

@terror terror commented Nov 12, 2025

Follow-up from #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.

@zanieb zanieb added the internal A refactor or improvement that is not user-facing label Nov 12, 2025
@zanieb
Copy link
Member

zanieb commented Nov 12, 2025

Ah interesting, I was looking at banning it ~everywhere but this seems like a good start

@zanieb zanieb merged commit d32cc63 into astral-sh:main Nov 12, 2025
100 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal A refactor or improvement that is not user-facing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants