Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

track: Code coverage reporting implementation

未關閉
#29 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
5/5
預估耗時
一週以上
新手友好度
25/100
Issue 類型
功能
描述清晰度
需要釐清
活躍度
停滯
技術堆疊
github-actions, shell
領域
ci-cd, release, testing

研究方向

首先檢查 .github/workflows/coverage.yml、現有的 6 個測試檔案以及相依性 issue #27。檢查 26 個 hook 指令碼和目前 3/26 的測試涵蓋率,然後處理列出的 shellcheck 和測試問題。達到所述的涵蓋率目標、加入 README 徽章,並將涵蓋率設定為必要的 PR 檢查後,即視為完成。

由索引模型根據 Issue 內容生成。

描述

enhancement

Overview

Track the implementation and improvement of code coverage reporting for all hook scripts.

Current Status

  • ✅ Coverage workflow created (.github/workflows/coverage.yml)
  • ✅ kcov integration configured
  • ⚠️ Coverage currently at 0% (no hooks passing tests)

Goals

  • Fix hook scripts to pass shellcheck
  • Achieve 50% coverage
  • Achieve 80% coverage target
  • Add coverage badge to README
  • Integrate coverage checks in PR reviews

Tracking Metrics

  • Current coverage: 0%
  • Target coverage: 80%
  • Number of hooks tested: 3/26
  • Number of test files: 6

Related PRs

  • Initial coverage setup: (this commit)

Dependencies

  • Depends on #27 (test coverage for all hooks)
  • Blocks v1.0.0 release

Action Items

  1. Fix shellcheck errors in hook scripts
  2. Update tests to handle hook script issues
  3. Add coverage badge to README
  4. Configure coverage as required PR check

Milestone

Test Coverage 80%

主要語言
Python
星號
5
分支
2
PR 合併指標
30 天內沒有已合併 PR

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

aRustyDev/pre-commit-hooks 的其他 Issue

查看 aRustyDev/pre-commit-hooks 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。