py.typed file / type stubs are missing
还没有人认领这个 Issue。
评估
调研方向
首先定位已安装的 polygon 包,并使用 mypy 通过 examples/stocks-daily_open_close.py 重现报告。检查该包是否按照 issue 中的描述导出其类型信息,然后验证该示例在没有缺少 stubs 错误的情况下通过类型检查。
由索引模型根据 Issue 内容生成。
描述
Describe the bug
The polygon package does not export its type information to mypy, which causes mypy to fail when used on downstream packages
To Reproduce
- Download
examples/stocks-daily_open_close.pyor any other example file mypy stocks-daily_open_close.py- Observe the following error:
stocks-daily_open_close.py:1: error: Skipping analyzing "polygon": module is installed, but missing library stubs or py.typed marker [import-untyped]
stocks-daily_open_close.py:1: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
Found 1 error in 1 file (checked 1 source file)
Expected behavior
The type checks should pass
Additional context
I think all that is needed is to add the missing py.typed file to the polygon package
- 主要语言
- Python
- 星标
- 1.5k
- 派生
- 362
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
massive-com/client-python 的其他 Issue
-
enhancement
难度 3/5 1-2 天 新手友好度 72/100
massive-com/client-python#1031 ·
-
enhancement
难度 4/5 3-5 天 新手友好度 45/100
massive-com/client-python#1029 ·
-
难度 4/5 3-5 天 新手友好度 35/100
massive-com/client-python#1028 ·
-
bug
难度 3/5 1-2 天 新手友好度 55/100
massive-com/client-python#1022 ·
-
bug
难度 4/5 3-5 天 新手友好度 50/100
massive-com/client-python#1016 ·
查看 massive-com/client-python 的全部 Issue
相似的 Issue
-
link-check link-check:sphinx-theme
难度 2/5 1-3 小时 新手友好度 72/100
-
难度 2/5 1-3 小时 新手友好度 65/100
qgis/QGIS-Documentation#11275 ·
-
bug priority:normal ready-for-dev
难度 2/5 1-3 小时 新手友好度 88/100
OpenHands/extensions#626 · 1 条评论 ·
-
难度 1/5 1 小时以内 新手友好度 90/100
CSCfi/sd-search-api#39 ·
-
难度 1/5 1 小时以内 新手友好度 90/100