mypy icon indicating copy to clipboard operation
mypy copied to clipboard

Split `[type-arg]` into `[type-arg]` and `[type-arg-generic]` also to solve #3737

Open MarcusJellinghaus opened this issue 1 year ago • 0 comments

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).

MarcusJellinghaus avatar Aug 13 '24 09:08 MarcusJellinghaus