Consider switching to `src` layout
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
研究方向
The package layout change from #2277 is the starting point, so compare the repository tree against the src layout pattern and check the packaging config in pyproject.toml or setup.cfg. Moving the package under src/ touches imports, test discovery and the documentation build, so run the test suite afterwards. Done means the package installs from src/, the tests pass, and the maintainers agree on the final layout.
由索引模型根據 Issue 內容生成。
描述
To my mind, src is a separate discussion, and doesn't need to be done in https://github.com/pvlib/pvlib-python/pull/2277, if at all.
I brought it up because it seems to me that the majority of projects that use
/testsalso use/src. Indeed most of the linked packages on the PyOpenSci reference use/pkg/testsrather than/pkg+/tests. Alsopytestdocs include examples for either/src+/testsOR/pkg/testsbut not/pkg+/tests. Maybe it's ok but I like to follow the more popular patterns unless I know why I am deviating from them.
Originally posted by @wholmgren in #2271
#2277 moved the package from a flat layout to a "halfway-src" layout. We should consider adopting the src layout entirely, as the python community seems broadly agreed that the src layout is beneficial.
- 主要語言
- Python
- 星號
- 1.7k
- 分支
- 1.2k
- 平均合併
- 3 天 18 小時
- 30 天內合併 PR
- 13
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
pvlib/pvlib-python 的其他 Issue
-
bug
難度 2/5 1-3 小時 新手友好度 78/100
pvlib/pvlib-python#2903 · 5 則留言 · 2 個 reaction ·
維護者通常 1 天內回覆
-
use offset parameter instead of calculating bday in cdrom可能已有人在做 @chenyi6758-source 今天認領。 未關閉
難度 1/5 1 小時以內 新手友好度 92/100
pvlib/pvlib-python#2902 ·
維護者通常 1 天內回覆
-
Add an example or documentation on using 'bhi' from ERA5可能重新可做 @anshurajbisoyi98-ctrl 於 15 天前認領,目前沒有進行中的 PR。 未關閉
難度 2/5 1-3 小時 新手友好度 66/100
pvlib/pvlib-python#2880 · 2 則留言 ·
維護者通常 1 天內回覆
-
Use "long-wave" rather than "infra-red" to refer to thermal radiation.可能重新可做 @Rahi-padwal 於 253 天前認領,目前沒有進行中的 PR。 未關閉api easy
難度 2/5 1-3 小時 新手友好度 62/100
pvlib/pvlib-python#2653 · 6 則留言 ·
維護者通常 1 天內回覆
-
question
難度 1/5 1-3 小時 新手友好度 72/100
pvlib/pvlib-python#2637 · 10 則留言 ·
維護者通常 1 天內回覆
查看 pvlib/pvlib-python 的全部 Issue
相似的 Issue
-
bug
難度 2/5 1-3 小時 新手友好度 79/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 78/100
mohitmishra786/readprism#322 ·
維護者通常 1 天內回覆
-
good first issue
難度 2/5 1-3 小時 新手友好度 76/100
-
難度 1/5 1 小時以內 新手友好度 75/100
維護者通常 1 天內回覆
-
API-key credentials accept a blank key: empty via the API, spaces-only via the builder's Add API key dialog可能已有人在做 關聯的 PR 仍在進行中或已合併。 未關閉
難度 2/5 1-3 小時 新手友好度 77/100
Significant-Gravitas/AutoGPT#15727 ·
維護者通常 1 天內回覆