mypy
mypy copied to clipboard
Split `[type-arg]` into `[type-arg]` and `[type-arg-generic]` also to solve #3737
Feature
Split error code [type-arg] into [type-arg] and [type-arg-generic] to allow disabling this check for generic errors, also to solve #3737.
Pitch
I have the same issue as described in #3737 . I want to disable_error_code = type-arg but only for generic types (eg pandas.Series), and keep it otherwise.
Therefore, I'm suggesting to split the error code into two error codes, so that I can disable one of them (and keep the other).