[reportlab] Add # type: ignores (#14202)

Helps with #14194
This commit is contained in:
Sebastian Rittau
2025-06-01 00:55:09 +02:00
committed by GitHub
parent f030ef0f76
commit 252acdf0bc
2 changed files with 5 additions and 5 deletions
@@ -46,10 +46,10 @@ class DataMatrix(Barcode, _DMTXCheck):
def recalc(self) -> None: ...
@property
def matrix(self): ...
@property # type: ignore[misc]
def width(self): ...
@property # type: ignore[misc]
def height(self): ...
@property # type: ignore[misc] # TODO: for mypy < 1.16
def width(self): ... # type: ignore[override]
@property # type: ignore[misc] # TODO: for mypy < 1.16
def height(self): ... # type: ignore[override]
@property
def cellWidth(self): ...
@property
@@ -22,7 +22,7 @@ class Ean13BarcodeWidget(PlotArea):
value: Incomplete
def __init__(self, value: str = "123456789012", **kw) -> None: ...
@property
def width(self): ...
def width(self): ... # type: ignore[override]
def wrap(self, aW, aH): ...
def draw(self): ...