-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
Is your feature request related to a problem? Please describe
When I use typing.Generic in 2 levels of inheritance (I think it's a correct way to use Generic), I don't want to have a E0241: duplicate bases message.
Describe the solution you'd like
Ignore typing.Generic for E0241: duplicate bases duplicate test.
Additional context
Add any other context about the feature request here.
short exemple:
from typing import Generic, TypeVar
Number = TypeVar("Number")
class IVector(Generic[Number]):
pass
class SparceVector(Generic[Number], IVector[Number]):
pass
# get `E0241: duplicate bases`.
class IntVector(SparceVector[int]):
passmgupta1410 and KholdStare