Enable B905 (zip-without-explicit-strict) linting rules
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 65/100
調査の方向性
The issue references PR #6904 which enabled flake8-bugbear but excluded rule B905. First, locate the linting configuration (likely .ruff.toml or pyproject.toml) to see the current exclusions. Then, find all instances of zip() calls in the codebase flagged by B905, review each to decide whether strict=True or strict=False is appropriate, and update them accordingly. Run the linter to verify the changes.
索引モデルが issue の本文から書いたものです。
説明
https://github.com/mozilla/bugbug/pull/6904#discussion_r4066628444
PR #6904 enables most of flake8-bugbear ("B"), but excludes B905 (zip() without explicit strict=). The autofix defaults every flagged call to strict=False, which just preserves old behavior — but per @suhaibmujahid's review, each site should be reviewed individually, since strict=True is usually the better choice unless strict=False is intentionally needed.
- 主要言語
- Python
- スター
- 570
- フォーク
- 351
- 平均マージ
- 2日 3時間
- マージ済み PR(30日)
- 69
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
mozilla/bugbug のほかの issue
-
hackbot
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
hackbot
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
hackbot
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
-
hackbot
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
似ている issue
-
bug priority:low
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
CyberAgent/psd2svg#436 ·
-
area/install-update comp/cli comp/desktop P3 sweeper:risk-compatibility type/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
NousResearch/hermes-agent#122386 · コメント 1 件 ·
-
ai-generated
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
vllm-project/production-stack#1105 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100