mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-27 12:02:19 +08:00
Add mypy error codes to '# type: ignore' comments (#6379)
This commit is contained in:
@@ -15,7 +15,7 @@ def fromqimage(im: Image | QImage) -> Image: ...
|
||||
def fromqpixmap(im: Image | QImage) -> Image: ...
|
||||
def align8to32(bytes: bytes, width: int, mode: Literal["1", "L", "P"]) -> bytes: ...
|
||||
|
||||
class ImageQt(QImage): # type: ignore
|
||||
class ImageQt(QImage):
|
||||
def __init__(self, im: Image) -> None: ...
|
||||
|
||||
def toqimage(im: Image) -> ImageQt: ...
|
||||
|
||||
Reference in New Issue
Block a user