Remix.run Logo
senand 4 days ago

I use black and I like it. Where does ruff differ in terms of formatting?

notpushkin 4 days ago | parent | next [-]

It’s mostly similar, just a bit more consistent: https://docs.astral.sh/ruff/formatter/black/

VeejayRampay 4 days ago | parent [-]

and speed, it's way way faster

pnt12 4 days ago | parent | prev [-]

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.