diff --git a/stubs/reportlab/reportlab/graphics/barcode/dmtx.pyi b/stubs/reportlab/reportlab/graphics/barcode/dmtx.pyi index 9eacc232c39e..f4798830790e 100644 --- a/stubs/reportlab/reportlab/graphics/barcode/dmtx.pyi +++ b/stubs/reportlab/reportlab/graphics/barcode/dmtx.pyi @@ -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 diff --git a/stubs/reportlab/reportlab/graphics/barcode/eanbc.pyi b/stubs/reportlab/reportlab/graphics/barcode/eanbc.pyi index 4bc3d09551c3..18b4045e005f 100644 --- a/stubs/reportlab/reportlab/graphics/barcode/eanbc.pyi +++ b/stubs/reportlab/reportlab/graphics/barcode/eanbc.pyi @@ -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): ...