You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is the performance bad? I would expect most of the time is spent in pyflakes. Maybe ruff can be used instead to provide a boost. Does it expose all the necessary information?
Activity
asmeurer commentedon Sep 21, 2023
Is the performance bad? I would expect most of the time is spent in pyflakes. Maybe ruff can be used instead to provide a boost. Does it expose all the necessary information?
nstarman commentedon Sep 22, 2023
People at Astropy have noticed it's the slowest step in our pre-commit.
nstarman commentedon Sep 22, 2023
I'm not sure about ruff's python API. But that would presumably be much faster
asmeurer commentedon Sep 22, 2023
They don't have one yet, but using it as a subprocess may be fast enough. astral-sh/ruff#659
asmeurer commentedon Sep 22, 2023
Also would be a good idea to profile this to see if that actually is why it's slow.