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

fix(code-metrics): make the frozen suppression count honor scope excludes

オープン 初心者向け
#7,232 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

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

評価

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

調査の方向性

lib/suppression-scan.pyから始め、--countが入力を受け取る方法と、レポートで解決されたスコープおよび除外対象を比較してください。該当するスコープ処理とテストを確認し、除外されたパスに抑制があるfixtureを追加してください。そのfixtureで固定されたカウントとレポートが一致すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

needs-human needs-triage

Problem

/code-metrics:audit-suppressions freezes a suppression count with --count (via lib/suppression-scan.py). That count scans the whole repository and ignores the scope.exclude setting the report honors, so a ratchet built on the frozen count can disagree with the report the user reads. #7009 documents the difference in plugins/code-metrics/skills/audit-suppressions/SKILL.md, but the two numbers still differ.

Fix

Let suppression-scan.py --count take the resolved scope and excludes, the same input the report uses, so the frozen count and the report count the same files.

Done when

  • --count and the report agree on a fixture with an excluded path holding suppressions, and a test covers it.

Refs: #7009

主要言語
Shell
スター
22
フォーク
2
平均マージ
8時間 27分
マージ済み PR(30日)
957

環境構築

はじめの一歩

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

melodic-software/claude-code-plugins のほかの issue

melodic-software/claude-code-plugins の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

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

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