GoogleCloudPlatform / GoogleCloudPlatform/python-docs-samples
Add `mypy` presubmit to Python samples
未關閉
priority: p3
samples
triage me
type: feature request
- 主要語言
- Jupyter Notebook
- 星號
- 8.1k
- 分支
- 6.7k
- 平均合併
- 4 天 2 小時
- 30 天內合併 PR
- 16
描述
It will be helpful to include a `mypy` presubmit to improve the end user experience and avoid type failures for users similar to: https://github.com/GoogleCloudPlatform/python-docs-samples/issues/13302.
Add a github presubmit that runs mypy on the samples to capture any type failures.
貢獻指南
研究方向
先找出儲存庫現有的 GitHub presubmit 設定,並查看 https://github.com/GoogleCloudPlatform/python-docs-samples/issues/13302 中的相關 issue。確定如何選取 Python 範例,然後確認 presubmit 會執行 mypy 並回報型別錯誤。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- github-actions, python
- 領域
- ci-cd, testing-qa
- Issue 類型
- 功能
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100