/top/
/new/
/best/
/ask/
/show/
/job/
^
slacker news
login
about
←back to thread
Code formatting comes to uv experimentally
(pydevtools.com)
365 points
tanelpoder
| 1 comments |
21 Aug 25 20:26 UTC
|
HN request time: 0s
|
source
Show context
IshKebab
◴[
21 Aug 25 21:59 UTC
]
No.
44978604
[source]
▶
>>44977645 (OP)
#
This is obviously a great move. I don't know why so many commenters here are against making things better. "Can't you just do <this slightly worse thing> already?". Well yes. But it's slightly worse.
replies(3):
>>44978702
#
>>44979899
#
>>44986544
#
Spivak
◴[
21 Aug 25 22:09 UTC
]
No.
44978702
[source]
▶
>>44978604
#
I think the biggest thing is that it doesn't seem to support other formatters. If my project uses black I don't get to have uv format work for me.
replies(3):
>>44978757
#
>>44979765
#
>>44980942
#
nickserv
◴[
22 Aug 25 04:14 UTC
]
No.
44980942
[source]
▶
>>44978702
#
Ruff pretty much follows the same rules as black, and can be made identical with some options tweaking.
So when I moved several projects from black to ruff, there were no changes made to the code.
replies(2):
>>44981097
#
>>44981838
#
1.
IshKebab
◴[
22 Aug 25 07:24 UTC
]
No.
44981838
{3}
[source]
▶
>>44980942
#
That wasn't my experience. I tried it on a large project and about 1% of lines were changed. Not a big deal IMO but enough for naysayers to complain.
ID:
GO
↑