Bump mypy to 1.15.0 (#13473)

This commit is contained in:
Alex Waygood
2025-02-07 19:21:40 +00:00
committed by GitHub
parent 94ac7c44d2
commit 73ebb9dfd7
4 changed files with 2 additions and 9 deletions

View File

@@ -1,6 +1,5 @@
class GeneratedProtocolMessageType(type):
def __new__(cls, name, bases, dictionary): ...
def __init__(self, /, name, bases, dictionary) -> None: ...
def ParseMessage(descriptor, byte_str): ...
def MakeClass(descriptor): ...

View File

@@ -1,7 +1,3 @@
# typeshed typing differences with runtime collections.OrderedDict and builtins.dict
pyasn1.codec.native.encoder.SequenceEncoder.protoDict
pyasn1.codec.native.encoder.SetEncoder.protoDict
# Attempted "__ne__" operation on ASN.1 schema object
pyasn1.type.base
pyasn1.type.univ

View File

@@ -88,9 +88,7 @@ class Boolean(Integer):
namedValues: namedval.NamedValues
typeId: int
SizedIntegerBase = int
class SizedInteger(SizedIntegerBase):
class SizedInteger(int):
bitLength: int | None
leadingZeroBits: int | None
def setBitLength(self, bitLength): ...