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
did some quick profiling, flake8 -j1 spends about 5% of its time collecting these (even if they're not selected).
I also feel like these are not that useful and could probably be derived in a separate formatter if desired? I don't think I've ever used them but I've definitely broken them a few times.
what say to removing these options? (and perhaps providing a third party formatter for them as a middle-ground?)
Statistics is quite helpful when onboarding flake8 to a new project because you can get the count of problems and decide the low hanging fruit versus the more time-intensive problems that go into extend-ignore (assuming an auto-formatter doesn't catch the violations).
Perhaps if there was something that could suggest configuration based on existing violation frequency etc that would be more valuable
Reacted by Florian Best, Bengt Lüers and Hugo van Kemenade
I think if we ship an extension to replace them that is probably acceptable. I suspect regardless of the number of jobs we're spending too much time on these for what is likely the benefit of very few users
Activity
sigmavirus24 commentedon Sep 29, 2022
Statistics is quite helpful when onboarding flake8 to a new project because you can get the count of problems and decide the low hanging fruit versus the more time-intensive problems that go into
extend-ignore(assuming an auto-formatter doesn't catch the violations).Perhaps if there was something that could suggest configuration based on existing violation frequency etc that would be more valuable
asottile commentedon Sep 29, 2022
fwiw it seems
--statisticscan be gotten pretty easily with something like:sigmavirus24 commentedon Oct 3, 2022
I think if we ship an extension to replace them that is probably acceptable. I suspect regardless of the number of jobs we're spending too much time on these for what is likely the benefit of very few users