KEMBAR78
Fix plugin invocation on classmethod calls through `Type` by msullivan · Pull Request #7969 · python/mypy · GitHub
Skip to content

Conversation

msullivan
Copy link
Collaborator

We weren't computing the proper fullname through TypeType (only
through type obj callables. Maybe we should get rid of those...)

This fixes these getting missed by suggestions.

We weren't computing the proper fullname through TypeType (only
through type obj callables. Maybe we should get rid of those...)

This fixes these getting missed by suggestions.
Copy link
Member

@ilevkivskyi ilevkivskyi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should get rid of those...

There was an idea to unify class callables and Type[...] but I think it is still not possible (or at least non-trivial).

@msullivan msullivan merged commit 0da67dd into master Nov 18, 2019
@msullivan msullivan deleted the suggest-classmethod-type branch November 18, 2019 20:55
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

Successfully merging this pull request may close these issues.

2 participants