python / python/cpython

argparse: customizable help formatter

未關閉
#87,132 3 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

3.10 stdlib type-feature
主要語言
Python
星號
77.2k
分支
36k
平均合併
1 天 9 小時
30 天內合併 PR
558

描述

BPO 42966
Nosy @rhettinger, @monkeyman79
PRs
  • python/cpython#24377
  • Files
  • CustomizableHelpFormatter.txt
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = None
    created_at = <Date 2021-01-19.14:27:00.579>
    labels = ['type-feature', 'library', '3.10']
    title = 'argparse: customizable help formatter'
    updated_at = <Date 2021-01-29.21:27:53.846>
    user = 'https://github.com/monkeyman79'
    

    bugs.python.org fields:

    activity = <Date 2021-01-29.21:27:53.846>
    actor = 'monkeyman79'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2021-01-19.14:27:00.579>
    creator = 'monkeyman79'
    dependencies = []
    files = ['49750']
    hgrepos = []
    issue_num = 42966
    keywords = ['patch']
    message_count = 3.0
    messages = ['385263', '385509', '385942']
    nosy_count = 3.0
    nosy_names = ['rhettinger', 'paul.j3', 'monkeyman79']
    pr_nums = ['24377']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue42966'
    versions = ['Python 3.10']
    

    貢獻指南

    開啟貢獻指南

    從這裡開始

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

    研究方向

    先從 CustomizableHelpFormatter.txt 和連結的 pull request #24377 開始,接著檢查 argparse 目前的 formatter 實作及相關測試。這個 issue 已經進入 patch review,相關工作也正在進行,因此在將其視為完成之前,請確認提議的自訂需求和測試涵蓋率。

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

    評估

    技術堆疊
    python
    領域
    cli
    Issue 類型
    功能
    難度
    4/5
    預估耗時
    3-5 天
    活躍度
    停滯
    描述清晰度
    需要釐清
    新手友好度
    20/100

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

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