←back to thread

365 points tanelpoder | 1 comments | | HN request time: 0s | source
Show context
IshKebab ◴[] No.44978604[source]
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 ◴[] No.44978702[source]
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 ◴[] No.44980942[source]
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 ◴[] No.44981838{3}[source]
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.