Skip to content

Commit 252acdf

Browse files
authored
[reportlab] Add # type: ignores (#14202)
Helps with #14194
1 parent f030ef0 commit 252acdf

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

stubs/reportlab/reportlab/graphics/barcode/dmtx.pyi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ class DataMatrix(Barcode, _DMTXCheck):
4646
def recalc(self) -> None: ...
4747
@property
4848
def matrix(self): ...
49-
@property # type: ignore[misc]
50-
def width(self): ...
51-
@property # type: ignore[misc]
52-
def height(self): ...
49+
@property # type: ignore[misc] # TODO: for mypy < 1.16
50+
def width(self): ... # type: ignore[override]
51+
@property # type: ignore[misc] # TODO: for mypy < 1.16
52+
def height(self): ... # type: ignore[override]
5353
@property
5454
def cellWidth(self): ...
5555
@property

stubs/reportlab/reportlab/graphics/barcode/eanbc.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class Ean13BarcodeWidget(PlotArea):
2222
value: Incomplete
2323
def __init__(self, value: str = "123456789012", **kw) -> None: ...
2424
@property
25-
def width(self): ...
25+
def width(self): ... # type: ignore[override]
2626
def wrap(self, aW, aH): ...
2727
def draw(self): ...
2828

0 commit comments

Comments
 (0)