Why the change from black to ruff? #12914
Replies: 5 comments
-
No issue with black specifically. Like you say, seeing as we already had ruff linting, we now have one tool to do both (i.e. one fewer dependency). It's also quite a lot faster (which is minor but noticeable when you're doing whole-repo checking). |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
The speed of ruff is ridiculous. |
Beta Was this translation helpful? Give feedback.
-
I was just wondering how much faster black would be if they ran it through something like cpython... Turns out they already do! (mypyc) TLDR it only yielded a 2x speed improvement over pure python. |
Beta Was this translation helpful? Give feedback.
-
Thanks all for clarifying. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is there an issue with black or is it simply to perform linting in addition to formatting?
Beta Was this translation helpful? Give feedback.
All reactions