Skip to content

Commit

Permalink
Ignore mypy false positive
Browse files Browse the repository at this point in the history
  • Loading branch information
yaqwsx committed Feb 23, 2023
1 parent f9c1778 commit 00fcc16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pcbdraw/renderer.py
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ def f(plan: RenderAction, substrate: Image.Image, board: Image.Image) \
for rId, row in enumerate(npBoard):
for cId, elem in enumerate(row):
fPix = np.array([int(x) for x in elem])
distance = np.linalg.norm(fPix - pixel)
distance = np.linalg.norm(fPix - pixel) # type: ignore
if distance < 20:
ImageDraw.floodfill(board, (cId, rId), (0, 0, 0, 0), thresh=30)

Expand Down

0 comments on commit 00fcc16

Please sign in to comment.