mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-13 00:20:10 +08:00
Update to mypy 1.14 (#13272)
This commit is contained in:
1 parent
8e31597fa5
commit
097581ea47
43 files changed
+357
-79
No files matched your search
@@ -8,15 +8,15 @@ class SignatureFlag(IntEnum):
|
||||
SIGNATURES_EXIST = 1
|
||||
APPEND_ONLY = 2
|
||||
|
||||
class CoerciveEnum(Enum):
|
||||
class CoerciveEnum(Enum): # type: ignore[misc] # Enum with no members
|
||||
@classmethod
|
||||
def coerce(cls, value: Self | str) -> Self: ...
|
||||
|
||||
class CoerciveIntEnum(IntEnum):
|
||||
class CoerciveIntEnum(IntEnum): # type: ignore[misc] # Enum with no members
|
||||
@classmethod
|
||||
def coerce(cls, value: Self | str | int) -> Self: ...
|
||||
|
||||
class CoerciveIntFlag(IntFlag):
|
||||
class CoerciveIntFlag(IntFlag): # type: ignore[misc] # Enum with no members
|
||||
@classmethod
|
||||
def coerce(cls, value: Self | str | int) -> Self: ...
|
||||
|
||||
|
||||
Reference in new issue
Block a user