KotlinIsland / KotlinIsland/basedtyping

investigate this "metaclass conflict" mypy error

Open
#76 0 comments 0 reactions 0 assignees View on GitHub
todo typetime
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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.