Request to re-evaluate options for #1273
まだ誰も着手していません。
評価
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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!
- 主要言語
- Python
- スター
- 3.8k
- フォーク
- 362
- 平均マージ
- 6時間 14分
- マージ済み PR(30日)
- 7
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
PyCQA/flake8 のほかの issue
-
Max Line Length in style guide ignored with python 3.14 when checking multiple files再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 42/100
-
option_manager.add_option ignores action when reading from config再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
似ている issue
-
Context/namespace resources fail in-cluster: "Invalid kube-config file. No configuration found."オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
bug documentation
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
awslabs/visual-asset-management-system#880 ·
メンテナーはふだん 1 日以内に返信
-
netbox status: needs owner type: documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
netbox-community/netbox#23533 ·
メンテナーはふだん 1 日以内に返信
-
app: scripts status: backlog type: documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
netbox-community/netbox-scripts#68 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 91/100
marin-community/marin#10765 ·
メンテナーはふだん 1 日以内に返信