Skip to content

Commit 7ca31f1

Browse files
committed
Squelch mypy warning
I don't think mypy can handle this.
1 parent a31d1bd commit 7ca31f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

barcode/writer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class Callbacks(TypedDict):
3939

4040
log = logging.getLogger("pyBarcode")
4141
log.info("Pillow not found. Image output disabled")
42-
Image = ImageDraw = ImageFont = None
42+
Image = ImageDraw = ImageFont = None # type: ignore[assignment]
4343

4444

4545
def mm2px(mm: float, dpi: int) -> float:

0 commit comments

Comments
 (0)