dropbox / dropbox/pyannotate

Support for getting annotations from dmypy suggest

Open
#100 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.4k
Forks
60
PR merge metrics
No merged PRs in 30d

Description

I would love if `pyannotate` could fall back to `dympy 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:

```
pyannotate --signature-cmd='dmypy suggest --json {filename}:{lineno}' file1
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.