Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

urls not appearing for found Mypy notes #69

Open
eroller opened this issue Nov 2, 2020 · 2 comments
Open

urls not appearing for found Mypy notes #69

eroller opened this issue Nov 2, 2020 · 2 comments

Comments

@eroller
Copy link

eroller commented Nov 2, 2020

Step 1: Are you in the right place?

  • [X ] I have verified there are no duplicate active or recent bugs, questions, or requests
  • [X ] I have verified that I am using the latest version of the plugin.

Step 2: Describe your environment

  • Plugin version: 0.11.2
  • PyCharm/IDEA version: Professional 2020.2
  • Mypy version: 0.790

Step 3: Describe the problem:

Steps to reproduce:

  1. Run scan on file that generates a Note containing http url (e.g. http://mypy.readthedocs.io/en/latest/common_issues.html#variance)

Observed Results:

  • The note just says "Dict" is invariant -- See http

Expected Results:

  • The note should include the url from mypy, for example "Dict" is invariant -- see http://mypy.readthedocs.io/en/latest/common_issues.html#variance

Relevant Code:

class A: ...
class B(A): ...

lst = [A(), A()]  # Inferred type is List[A]
new_lst = [B(), B()]  # inferred type is List[B]
lst = new_lst  # mypy will complain about this, because List is invariant
@eroller
Copy link
Author

eroller commented Nov 2, 2020

looks like some kind of truncation is happening?

@jaredtkatz
Copy link

yeah, a lot of messages seem to get truncated in the extension toolbar and the mouseover tooltip, which really undermines the usefulness of this plugin. Feel like this must be an easy bug to fix...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants