KotlinIsland / KotlinIsland/basedtyping
investigate this "metaclass conflict" mypy error
- Dominant language
- Python
- Stars
- 12
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
class ReifiedList(ReifiedGeneric[Tuple[T]], List[T]): # type:ignore[misc]
https://api.github.com/KotlinIsland/basedtyping/blob/1943f5d581275e230bc7f9c3a99692ea5aa51749/tests/test_reified_generics/test_reified_generic.py#L17
```python
pass
# TODO: investigate this "metaclass conflict" mypy error
class ReifiedList(ReifiedGeneric[Tuple[T]], List[T]): # type:ignore[misc]
pass
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with tests/test_reified_generics/test_reified_generic.py at the ReifiedList definition and inspect the reported mypy metaclass conflict. Determine why the multiple inheritance triggers the diagnostic and document whether the type:ignore can be removed or what change is required to resolve it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 32/100