mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 12:14:27 +08:00
Bump mypy to 1.15.0 (#13473)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Type checkers that we test our stubs against. These should always
|
||||
# be pinned to a specific version to make failure reproducible.
|
||||
mypy==1.14.1
|
||||
mypy==1.15.0
|
||||
pyright==1.1.389
|
||||
# pytype can be installed on Windows, but requires building wheels, let's not do that on the CI
|
||||
pytype==2024.10.11; platform_system != "Windows" and python_version >= "3.10" and python_version < "3.13"
|
||||
|
||||
@@ -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): ...
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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): ...
|
||||
|
||||
Reference in New Issue
Block a user