Skip to content

Commit

Permalink
style: ignore pylint message w0212
Browse files Browse the repository at this point in the history
  • Loading branch information
sethfischer committed Feb 17, 2024
1 parent dc71662 commit 2838d61
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/osr_common/cq_dxf.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def _dxf_circle(edge: Edge) -> DxfObjAttributes:
:return: dictionary of DXF entity attributes for creating either a circle or arc
"""
geom = edge._geomAdaptor()
geom = edge._geomAdaptor() # noqa[W0212]
circ = geom.Circle()

radius = circ.Radius()
Expand Down Expand Up @@ -223,7 +223,7 @@ def _dxf_ellipse(edge: Edge) -> DxfObjAttributes:
:return: dictionary of DXF entity attributes for creating an ellipse
"""
geom = edge._geomAdaptor()
geom = edge._geomAdaptor() # noqa[W0212]
ellipse = geom.Ellipse()

r1 = ellipse.MinorRadius()
Expand Down Expand Up @@ -255,7 +255,7 @@ def _dxf_spline(cls, edge: Edge, plane: Plane) -> DxfObjAttributes:
:return: dictionary of ezdxf.math.BSpline parameters
"""
adaptor = edge._geomAdaptor()
adaptor = edge._geomAdaptor() # noqa[W0212]
curve = GeomConvert.CurveToBSplineCurve_s(adaptor.Curve().Curve())

spline = GeomConvert.SplitBSplineCurve_s(
Expand Down

0 comments on commit 2838d61

Please sign in to comment.