[Tracker] : Improve type annotation coverage
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 45/100
- issue の種類
- リファクタリング
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- python
調査の方向性
Issue にはファイル名もテストも記載されていません。まず Artist 階層と既存の型アノテーション定義を見つけ、次に要求された TypedDict の継承を Artist のプロパティに対応付けます。関連する Artist プロパティ階層が TypedDict でカバーされ、関連する型チェックが通れば完了です。
索引モデルが issue の本文から書いたものです。
説明
This issue is to keep track of work on improving type hints in matplotlib
Main task : TypedDicts for Artist properties
Let's do this separately, because it's a dedicated and complex enough effort: Basically what we want is a Typed Dict for the artist properties. Artist properties are essentially the things you can
set_[propname]on any object. These are in many cases the accepted and passed though by kwargs, and therefore artist property Typed Dicts make sense.
You'll want to create a Typed Dict hierarchy following the Artist hierarchy, i.e. TextProperties inheriting from ArtistProperties.
Originally posted by @timhoffm in https://github.com/matplotlib/matplotlib/pull/32139#discussion_r3690591174
for now this is our task, i'll be updating issue description as we proceed.
And another main reason for opening this is to have discussion, so please feel free to share your thoughts on this . Thank you 😊
- 主要言語
- Python
- スター
- 23.5k
- フォーク
- 8.6k
- 平均マージ
- 1日 19時間
- マージ済み PR(30日)
- 64
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
matplotlib/matplotlib のほかの issue
-
[Bug]: Saving a NonUniformImage with bbox_inches="tight" raises TypeError when extent is omittedオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
matplotlib/matplotlib#32707 ·
メンテナーはふだん 1 日以内に返信
-
[Bug]: withTickedStroke raises ValueError when the line contains NaN対応中かも @RjyavardhanSingh が 3 日前に担当しました。 オープンfirst-contribution topic: path handling
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
matplotlib/matplotlib#32689 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
[Bug]: Constrained layout raises ZeroDivisionError when the first height/width ratio is zero対応中かも @yqtian-se が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
matplotlib/matplotlib#32684 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
[Bug]: twin axes ignore the navigation opt-outs対応中かも @NaumanRafay が 36 日前に担当しました。 オープンtopic: toolbar
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
matplotlib/matplotlib#32528 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
[Bug]: macOS font discovery raises KeyError('_items') for an incomplete system_profiler font recordオープンfirst-contribution OS: Apple status: needs clarification topic: text/fonts
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
matplotlib/matplotlib#32328 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
matplotlib/matplotlib の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
nael5x/creative-ai#130 ·
-
Make the "%" unit spacing the same in the web and in A10対応中かも @kragent66-glitch が今日担当しました。 オープンbug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
maiychrus25/OpenTea-DX-OS#226 · コメント 1 件 ·
-
ci severity: low
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
TMHSDigital/Spackle#205 ·
メンテナーはふだん 1 日以内に返信
-
pkg:lgm type:chore upstream-gaussx
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
jejjohnson/pyrox#610 ·
メンテナーはふだん 1 日以内に返信