Comment by senand
I use black and I like it. Where does ruff differ in terms of formatting?
I use black and I like it. Where does ruff differ in terms of formatting?
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.
It’s mostly similar, just a bit more consistent: https://docs.astral.sh/ruff/formatter/black/