mirror of
https://github.com/zulip/zulip.git
synced 2025-11-17 20:41:46 +00:00
ruff: Fix PYI059 Generic[] should always be the last base class.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
e9abaacd5c
commit
fa4d680851
@@ -9,7 +9,7 @@ _KeyT = TypeVar("_KeyT")
|
||||
_DataT = TypeVar("_DataT")
|
||||
|
||||
|
||||
class BaseNotes(Generic[_KeyT, _DataT], ABC):
|
||||
class BaseNotes(ABC, Generic[_KeyT, _DataT]):
|
||||
"""This class defines a generic type-safe mechanism for associating
|
||||
additional data with an object (without modifying the original
|
||||
object via subclassing or monkey-patching).
|
||||
|
||||
Reference in New Issue
Block a user