dry-python / dry-python/returns

Consider refactoring

Abierto
#716 0 comentarios 0 reacciones 0 asignados Ver en GitHub
enhancement help wanted
Lenguaje dominante
Python
Estrellas
4.4k
Forks
155
Merge medio
2 h 27 min
PR fusionados (30 d)
22

Descripción

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?

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.