mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
Add mypy error codes to '# type: ignore' comments (#6379)
This commit is contained in:
@@ -40,11 +40,11 @@ class DictCursorMixin:
|
||||
def __iter__(self) -> Iterator[dict[Text, Any]]: ...
|
||||
|
||||
class SSCursor(Cursor):
|
||||
def fetchall(self) -> list[Tuple[Any, ...]]: ... # type: ignore
|
||||
def fetchall(self) -> list[Tuple[Any, ...]]: ... # type: ignore[override]
|
||||
def fetchall_unbuffered(self) -> Iterator[Tuple[Any, ...]]: ...
|
||||
def scroll(self, value: int, mode: Text = ...) -> None: ...
|
||||
|
||||
class DictCursor(DictCursorMixin, Cursor): ... # type: ignore
|
||||
class DictCursor(DictCursorMixin, Cursor): ... # type: ignore[misc]
|
||||
|
||||
class SSDictCursor(DictCursorMixin, SSCursor): # type: ignore
|
||||
def fetchall_unbuffered(self) -> Iterator[dict[Text, Any]]: ... # type: ignore
|
||||
class SSDictCursor(DictCursorMixin, SSCursor): # type: ignore[misc]
|
||||
def fetchall_unbuffered(self) -> Iterator[dict[Text, Any]]: ... # type: ignore[override]
|
||||
|
||||
Reference in New Issue
Block a user