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
Sounds like you found a bug in pylint. I don't know how pylint decides what keyword arguments a constructor call accepts, but typing_extensions.TypeVar definitely accepts default=.
Could you report this to pylint first? If there's some way we could write our code that makes pylint's job easier, I would consider it, but I have no idea what it's looking at.
Sounds like you found a bug in pylint. I don't know how pylint decides what keyword arguments a constructor call accepts, but typing_extensions.TypeVar definitely accepts default=.
Could you report this to pylint first? If there's some way we could write our code that makes pylint's job easier, I would consider it, but I have no idea what it's looking at.
After upgrading to 4.12.0, pylint is raising the following error for
TypeVar
s that have default values:The same code does not raise an error when using 4.11.0.
The text was updated successfully, but these errors were encountered: