News for hackers. Stuff that matters.
Re:Uv format: Code Formatting Comes to uv (experimentally) by Feuilles_Mortes on Thursday August 21, 2025 @10:23PM (#44980423)
But you have to know about ruff. I didn't, but I did know about uv.
Re:Uv format: Code Formatting Comes to uv (experimentally) by wasabi991011 on Friday August 22, 2025 @02:38AM (#44981604)
Not really. If you know about uv, you know how to use "uv tool run", so you know how to use any formatter of your choice (which you can find easily on Google, arguably easier than reading the documentation and learning about uv format).
Re:Uv format: Code Formatting Comes to uv (experimentally) by IshKebab on Friday August 22, 2025 @05:51AM (#44982641)
He said "you have to know about ruff". You're not really refuting that by saying "no you don't, you can just google it".
Re:Uv format: Code Formatting Comes to uv (experimentally) by jamienicol on Friday August 22, 2025 @06:37AM (#44982877)
But I don’t know what the formatter of choice is. Nor do I care what it is. I just want to format my code
Re:Uv format: Code Formatting Comes to uv (experimentally) by zelphirkalt on Friday August 22, 2025 @09:27AM (#44984427)
Well, it is arguably worse to run an unknown, not version pinned, unconfigured formatter over your code and expect it to improve things, unless the code is an utter catastrophe in terms of formatting.
Re:Uv format: Code Formatting Comes to uv (experimentally) by wiseowise on Friday August 22, 2025 @12:59PM (#44986899)
It is completely irrelevant.

You’re offloading responsibility to uv devs in this case.

Re:Uv format: Code Formatting Comes to uv (experimentally) by zelphirkalt on Friday August 22, 2025 @01:02PM (#44986942)
_You_ may find it irrelevant, but speak for yourself. I don't want dependencies, that are not version-pinned and checksummed running over my code. It is certainly not irrelevant to me.
Re:Uv format: Code Formatting Comes to uv (experimentally) by wiseowise on Friday August 22, 2025 @01:20PM (#44987155)
That’s for uv for decide. If you don’t like what it does - don’t use uv.