Update mypy to 1.12.0 (#12859)

This commit is contained in:
Sebastian Rittau
2024-10-19 17:45:38 +02:00
committed by GitHub
parent 890a38f424
commit ebdd2c528d
8 changed files with 23 additions and 43 deletions

View File

@@ -74,8 +74,6 @@ _io.StringIO.truncate
_io.TextIOWrapper.truncate
ipaddress.IPv4Interface.hostmask
ipaddress.IPv6Interface.hostmask
ipaddress._BaseNetwork.broadcast_address
ipaddress._BaseNetwork.hostmask
ipaddress._BaseAddress.is_global
ipaddress._BaseAddress.is_link_local
ipaddress._BaseAddress.is_loopback

View File

@@ -181,7 +181,3 @@ codecs.xmlcharrefreplace_errors
# To match `dict`, we lie about the runtime, but use overloads to match the correct behavior
types.MappingProxyType.get
# `__replace__` is dynamically generated, and special-cased by type-checkers
pstats.FunctionProfile.__replace__
pstats.StatsProfile.__replace__