Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


right, but you definitely shouldn’t be using any other formatter than ruff and this helps with that


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


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.


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.


I find this hard to believe since black doesn't even have the same rules as black's next version and I never changed version without something being reformatted.

Also because of fun, if you reformat again with the older version it won't go back to as it was before :)


Thanks for the downvotes. Really shows that you have no familiarity with black.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: