Ivan Levkivskyi

Results 403 comments of Ivan Levkivskyi
trafficstars

> Is this something related to the described issue? Yes, I think this is an aspect of the same problem. In this case however it looks to me as a...

I just uploaded a new release https://pypi.org/project/typing-inspect/

IIUC this behavior matches `get_origin()` from `typing` itself, right (for versions where it is available)? Also changing this would be backwards incompatible, so I am not sure we should do...

FWIW mypy version in master supports this under a flag (expect it fails on the last line because of an unrelated bug in special-casing tuple literals, should be a 1-line...

In general, I guess we will discover a bunch of inconsistencies in type inference in mypy (currently it is a bit arbitrary in some situations, while it should be quite...

@ckarnell Yes, this would require some updates to the plugin. You can try submitting a PR.

Actually you can already do this in some sense. There is a hidden (or rather just not advertised as official) hot key Ctrl+Shift+Y that will launch a script at `./mypy/mypy-suggest`...

> Perhaps what's hardwired is not `dmypy suggest`? Of course it isn't, please read carefully the sentence you quoted. > Is this by design, or a bug, or user error?...

Remote virtual environments are unfortunately not yet supported (and may be non-trivial to add). Thanks for request anyway, we may add this at some point (also PRs welcome).

It looks like a similar problem also exists with docker, see https://github.com/dropbox/mypy-PyCharm-plugin/issues/54