Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

style: ignore pylint message w0212 #94

Merged
merged 1 commit into from
Feb 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading