▲ | Spivak 5 days ago | ||||||||||||||||||||||
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. | |||||||||||||||||||||||
▲ | nmca 5 days ago | parent | next [-] | ||||||||||||||||||||||
right, but you definitely shouldn’t be using any other formatter than ruff and this helps with that | |||||||||||||||||||||||
▲ | nikisweeting 5 days ago | parent | prev | next [-] | ||||||||||||||||||||||
fwiw `ruff format` includes nearly all the black rules by default / supports a superset of black's options https://astral.sh/blog/the-ruff-formatter | |||||||||||||||||||||||
▲ | nickserv 4 days ago | parent | prev [-] | ||||||||||||||||||||||
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. | |||||||||||||||||||||||
|