mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-07-31 13:10:23 +08:00
Update mypy to 1.18.1 (#14699)
This commit is contained in:
@@ -36,3 +36,9 @@ docutils.readers.TYPE_CHECKING
|
||||
docutils.utils.TYPE_CHECKING
|
||||
docutils.writers.TYPE_CHECKING
|
||||
docutils.writers._html_base.TYPE_CHECKING
|
||||
|
||||
# FIXME: new stubtest errors from mypy v1.18.1 that need to be looked at more closely.
|
||||
# See https://github.com/python/typeshed/pull/14699
|
||||
docutils\.nodes\.\w+\.content_model
|
||||
docutils.parsers.docutils_xml.Unknown.content_model
|
||||
docutils.transforms.universal.SmartQuotes.nodes_to_skip
|
||||
|
||||
@@ -112,7 +112,6 @@ class Text(Node, str):
|
||||
|
||||
# we omit the rawsource parameter because it has been deprecated and is ignored
|
||||
def __new__(cls, data: str) -> Self: ...
|
||||
def __init__(self, data: str) -> None: ...
|
||||
def shortrepr(self, maxlen: int = 18) -> str: ...
|
||||
def copy(self) -> Self: ...
|
||||
def deepcopy(self) -> Self: ...
|
||||
|
||||
Reference in New Issue
Block a user