massive-com / massive-com/client-python
py.typed file / type stubs are missing
オープン
初心者向け
まだ誰も着手していません。
bug
- 主要言語
- Python
- スター
- 1.5k
- フォーク
- 362
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、インストールされている polygon パッケージを見つけ、mypy を使って examples/stocks-daily_open_close.py で報告を再現します。Issue で説明されているとおりにパッケージが型情報をエクスポートしていることを確認し、その後、missing-stubs エラーなしで例が型チェックを通過することを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- api
- issue の種類
- バグ
- 難易度
- 1/5
- 見積もり時間
- 1時間未満
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 72/100