Open chadrik opened 4 years ago
Maybe @msullivan can answer this? IIRC we built a prototype of something that tied dmypy suggest
and pyannotate
together, using the output from dmypy suggest
and piping it into the second half of pyannotate
. But I don't recall the details and I don't remember if we ever released this in public or if it was just a Dropbox internal experiment. I do think you're close in suggesting that there's a connection!
I would love if
pyannotate
could fall back todympy suggest
if no type info is found for a function. I'd be happy to submit a PR for this (I've already created a prototype that works as expected).If you'd rather do something more abstract/configurable, this could be implemented as a shell command to run as a fallback: