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

"Contributing" doc to suggest running flake8 locally

未關閉 適合新手
#2,637 10 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
1/5
預估耗時
1-3 小時
新手友好度
72/100
Issue 類型
文件
描述清晰度
描述清楚
活躍度
停滯
技術堆疊
markdown, python
領域
documentation

研究方向

需要修改的頁面是貢獻指南 docs/sphinx/source/contributing/how_to_contribute_new_code.rst,issue 從 readthedocs 網站連結到該頁面。請找到現有文字中介紹執行測試和程式碼檢查(linting)的位置,並新增一個簡短的小節,說明如何使用專案 CI 所用的指令在本機執行 flake8。完成的標準是:指南能告訴貢獻者在推送前如何執行 flake8,且文件建置時沒有警告。

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

描述

question

Is your feature request related to a problem? Please describe.
I find myself depending on pvlib GitHub CI to see if my pull request complies with flake8 (and having to iterate with additional commits and pushes).

Describe the solution you'd like
Would be nice to find in the Contributing doc a recommendation to test code flake8-wise locally before pushing it online (+ instructions on how to do it).

Additional context
Don't know if there are any other structural tests that would make sense (and be easy to implement) locally.

主要語言
Python
星號
1.7k
分支
1.2k
平均合併
3 天 18 小時
30 天內合併 PR
13

環境準備

從這裡開始

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

pvlib/pvlib-python 的其他 Issue

查看 pvlib/pvlib-python 的全部 Issue

相似的 Issue

更多 Python Issue

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

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