Conversation
|
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉 |
hauntsaninja
left a comment
There was a problem hiding this comment.
It breaks LSP on 3.8 by not accepting **kwds, not sure about on 3.9 (will check the PR out locally later and see)
|
Looking into the LSP complaint on 3.9: It goes away if you mark the args as positional-only, which seems incorrect: (Also the error message seems to drop the |
|
Thanks for checking! Wasn't there some bug where the |
|
I mean I guess technically mypy has a point in that: |
I don't really understand why this needs the
# type: ignores, but mypy seems absolutely convinced that this method breaks LSP!