Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Enable B905 (zip-without-explicit-strict) linting rules

オープン
#6,916 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
65/100
issue の種類
リファクタリング
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
python
領域
tooling

調査の方向性

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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

mozilla/bugbug のほかの issue

mozilla/bugbug の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。