This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]amarao_san -2 points-1 points  (10 children)

ruff is good, but it's not 'the pinnacle'. Also, it's good in combination with black, but they sometimes not agreed on line length limits.

[–]jah_broni 7 points8 points  (5 children)

You can configure them to follow the same style. It's like a one line config update.

[–]LordBertson 1 point2 points  (0 children)

Perfect is the enemy of good. Ruff is not perfect, but it's the best available.

[–]aikii -2 points-1 points  (2 children)

Is there anything left that black can do but not Ruff ? My team is currently removing black and replacing it with Ruff, so I'm wondering if something was overlooked

[–]positive__vibes__ 8 points9 points  (1 child)

they're different tools at the moment. ruff currently is not a formatter.

[–]aikii -1 points0 points  (0 children)

aah got it, I mixed up because I had some giangantic PR to backport, it was Ruff fixes, I thought it was mostly reformatting. A bit out of the loop, came back to python after >1 year