Remove --benchmark / --statistics / --count ?
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Start by tracing how the --benchmark, --statistics, and --count options are collected and exposed when running flake8 -j1. Review the discussion around whether they should be removed or supplied by a third-party formatter, and use issue #1458 as part of the acceptance check; done means the agreed option behavior and profiling concern are addressed.
Written by the indexing model from the issue text.
Description
describe the request
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?)
this would also "trivially" solve #1458
- Dominant language
- Python
- Stars
- 3.8k
- Forks
- 452
- Avg merge
- 14h 52m
- Merged PRs (30d)
- 3
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from PyCQA/flake8
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
Max Line Length in style guide ignored with python 3.14 when checking multiple filesMay be free again A pull request for this issue was closed without being merged. Open
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
-
option_manager.add_option ignores action when reading from configMay be free again A pull request for this issue was closed without being merged. Open
Difficulty 3/5 1-2 days Newbie friendliness 35/100
Similar issues
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 85/100
NatLabRockies/openstudio-mcp#286 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
intersystems/ipm#1338 ·
Maintainers usually reply within 1 day
-
separate_packages splits imports from the same explicitly configured packagePossibly taken @rahul05ranjan claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 2 days
-
The v0-through-v1 path derives ShutdownDuration its own way, silently overriding a user's definitionOpenv1
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day