Request to re-evaluate options for #1273
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
Research direction
Start by reviewing issue #1273 and the current CLI behavior described here. Compare the proposed flag names and determine how one invocation should select special rules while disabling noqa only for them; done means the behavior is agreed and no longer requires two flake8 runs.
Written by the indexing model from the issue text.
Description
describe the request
Hi - thanks for the project!
In some projects I work in, we have a bunch of flake8 rules, but a few "extra special please dont turn off" rules which we run with --disable-noqa. Currently, this process requires running flake8 twice, once flake8 then again flake8 --disable-noqa --select MYRULE1.
I found this old issue which I think looked to solve this #1273. I wonder if y'all see value in revisiting this as a seperate CLI flag --disable-noqa-select or --select-disable-noqa (or whatever!) to prevent the need to do this dual-running.
The initial author did mention
I'd be happy to convert this to a separate option if the risk is unacceptable, but this felt cleaner and more user-friendly to me.
but I dont think that was ever explored.
Happy to work on this issue if there is appetite!
- 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
-
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
-
Difficulty 4/5 3-5 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