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
It seems to me the mypy problem here is a duplicate of #1317.
But there is also a typeshed issue IMO (fixing which will fix this issue), so you might want to open an issue there. The add_argument method is needlessly generic, replacing _T with Any there will not reduce the strictness of the method.
But there is also a typeshed issue IMO (fixing which will fix this issue), so you might want to open an issue there.
I originally reported the issue here but was told it was probably a mypy issue. I'll re-open that issue and let you guys fight it out amongst yourselves.
Running mypy on this code:
I get:
I originally thought this might be an issue with typeshed and reported it here, but it turns out that pytype accepts the code.
The text was updated successfully, but these errors were encountered: