@@ -406,7 +406,7 @@ class MyEnum(SymmetricMixin, enum.Enum, metaclass=EnumPropertiesMeta):
406406 __first_class_members__ : t .List [str ]
407407
408408 @classmethod
409- def __prepare__ (mcs , cls , bases , ** kwargs ):
409+ def __prepare__ (metacls , cls , bases , ** kwds ): # type: ignore[override]
410410 """
411411 Strip properties out of inheritance and record them on our class
412412 dictionary for per-value based assignment in ``__new__``.
@@ -429,7 +429,7 @@ def __prepare__(mcs, cls, bases, **kwargs):
429429 else :
430430 real_bases .append (base )
431431
432- class_dict = super ().__prepare__ (cls , tuple (real_bases ), ** kwargs )
432+ class_dict = super ().__prepare__ (cls , tuple (real_bases ), ** kwds )
433433
434434 class _PropertyEnumDict (class_dict .__class__ ): # type: ignore[name-defined]
435435 """
@@ -630,7 +630,7 @@ def __new__(mcs, classname, bases, classdict, **kwargs):
630630 In python 3.14+ annotations are loaded after enum members are
631631 defined, so we have to reconcile our properties here.
632632 """
633- from annotationlib import (
633+ from annotationlib import ( # pyright: ignore[reportMissingImports]
634634 Format ,
635635 call_annotate_function ,
636636 get_annotate_from_class_namespace ,
@@ -901,7 +901,7 @@ def __hash__(self):
901901 return enum .Flag .__hash__ (self )
902902
903903
904- class IntFlagProperties ( # type: ignore[misc]
904+ class IntFlagProperties (
905905 DecomposeMixin , SymmetricMixin , enum .IntFlag , metaclass = EnumPropertiesMeta
906906):
907907 """
0 commit comments