Split `[type-arg]` into `[type-arg]` and `[type-arg-generic]` also to solve #3737
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 20.6k
- Forks
- 3.3k
- PR merge metrics
- PR metrics pending
Description
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).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating where the [type-arg] diagnostic is produced and where error codes are registered or documented. Trace the generic-type cases described in the issue, then verify that generic diagnostics use [type-arg-generic] while other type-arg diagnostics retain [type-arg].
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100