Re:Uv format: Code Formatting Comes to uv (experimentally)
by senand on Thursday August 21, 2025 @11:47PM
(#44980841)
I use black and I like it. Where does ruff differ in terms of formatting?
[ Parent
| on HN ]
Re:Uv format: Code Formatting Comes to uv (experimentally)
by notpushkin on Thursday August 21, 2025 @11:51PM
(#44980869)
It’s mostly similar, just a bit more consistent: https://docs.astral.sh/ruff/formatter/black/
Re:Uv format: Code Formatting Comes to uv (experimentally)
by VeejayRampay on Friday August 22, 2025 @09:26AM
(#44984415)
and speed, it's way way faster
Re:Uv format: Code Formatting Comes to uv (experimentally)
by pnt12 on Friday August 22, 2025 @10:53AM
(#44985385)
I switched to ruff for the great linting. When they introduced a formatter, I gave it a try and:
- got similar results
- but runs faster
- I could delete one dev dependency
Given black's motto (any color as long as it's black), now I pick ruff and go with whatever formatting it produces.