Skip to content

Commit

Permalink
mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
e-rk committed Apr 5, 2024
1 parent ea27954 commit 7792344
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion speedtools/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def merge_mesh(a: T, b: T) -> T:

def remap_idx(polygon: Ty) -> Ty:
face = tuple(f + len(a.vertices) for f in polygon.face) # type: ignore[attr-defined]
return replace(polygon, face=face)
return replace(polygon, face=face) # type: ignore[type-var]

b_polygons = map(remap_idx, b.polygons)
polygons = list(chain(a.polygons, b_polygons)) # type: ignore[attr-defined]
Expand Down

0 comments on commit 7792344

Please sign in to comment.