mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-09 13:02:22 +08:00
Add mypy error codes to '# type: ignore' comments (#6379)
This commit is contained in:
@@ -11,13 +11,13 @@ class Markup(text_type):
|
||||
def __html__(self) -> Markup: ...
|
||||
def __add__(self, other: text_type) -> Markup: ...
|
||||
def __radd__(self, other: text_type) -> Markup: ...
|
||||
def __mul__(self, num: int) -> Markup: ... # type: ignore
|
||||
def __rmul__(self, num: int) -> Markup: ... # type: ignore
|
||||
def __mul__(self, num: int) -> Markup: ... # type: ignore[override]
|
||||
def __rmul__(self, num: int) -> Markup: ... # type: ignore[override]
|
||||
def __mod__(self, *args: Any) -> Markup: ...
|
||||
def join(self, seq: Iterable[text_type]) -> Markup: ...
|
||||
def split(self, sep: text_type | None = ..., maxsplit: SupportsIndex = ...) -> list[Markup]: ... # type: ignore
|
||||
def rsplit(self, sep: text_type | None = ..., maxsplit: SupportsIndex = ...) -> list[Markup]: ... # type: ignore
|
||||
def splitlines(self, keepends: bool = ...) -> list[Markup]: ... # type: ignore
|
||||
def split(self, sep: text_type | None = ..., maxsplit: SupportsIndex = ...) -> list[Markup]: ... # type: ignore[override]
|
||||
def rsplit(self, sep: text_type | None = ..., maxsplit: SupportsIndex = ...) -> list[Markup]: ... # type: ignore[override]
|
||||
def splitlines(self, keepends: bool = ...) -> list[Markup]: ... # type: ignore[override]
|
||||
def unescape(self) -> Text: ...
|
||||
def striptags(self) -> Text: ...
|
||||
@classmethod
|
||||
|
||||
Reference in New Issue
Block a user