dry-python / dry-python/returns

Consider refactoring

オープン
#716 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement help wanted
主要言語
Python
スター
4.4k
フォーク
155
平均マージ
2時間 27分
マージ済み PR(30日)
22

説明

We have almost completely re-invented how to get callable arguments by name, position, and type:

https://github.com/dry-python/returns/blob/c243100ce672a8fb84caf2d0dfb224acfbaa097e/returns/contrib/mypy/_typeops/transform_callable.py#L63-L97

But, `mypy` already has this:

https://github.com/python/mypy/blob/52702e588ad2b8702ad74888ea10df852af1f035/mypy/typeops.py#L289-L313

Maybe, we can reuse it?

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。