pyproject: flip ty rules to error-by-default, review all new rules added since version bump

This commit is contained in:
Andrej730
2026-07-15 11:18:00 +05:00
parent c013b9aca7
commit 8718db63da
16 changed files with 94 additions and 110 deletions
@@ -473,7 +473,6 @@ class ShapeBuilder:
if arc_points and self.file.schema == "IFC2X3":
raise Exception("Arcs are not supported for IFC2X3.")
points: np.ndarray
points = np.array(points)
if position_offset is not None:
points = points + position_offset
@@ -635,7 +634,6 @@ class ShapeBuilder:
diff = (0.01, 0.01) * diff_sign
middle_point = points[0] + diff
points: list[VectorType]
points = [points[0], middle_point, points[1]]
points = [ifc_safe_vector_type(p) for p in points]
seg = self.file.createIfcArcIndex((1, 2, 3))