You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks, I think this is a bug (false positive). But it looks like a duplicate of #1727. I am closing this one, and will instead raise priority of #1727 to normal.
I have a few command pattern classes, with a structure like this:
The idea here is a clean class with a single class method to be invoked, ie.
Command.run('foo')
.Since adding mypy 0.521, I've noticed these errors pop up:
This can be resolved by placing the
__init__
method before therun
method, but I think one of two things should be done here:__init__
must come before a method that invokes it__init__
is overridden here, and don't print this error.Thoughts?
The text was updated successfully, but these errors were encountered: