Skip to content

Commit 951bd99

Browse files
chore: auto fixes from pre-commit hooks
1 parent dbc6c19 commit 951bd99

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

src/ansys/geometry/core/_grpc/_services/v0/beams.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,10 @@ def create_beam_segments(self, **kwargs) -> dict: # noqa: D102
5757
lines = []
5858
for segment in kwargs["segments"]:
5959
lines.append(
60-
Line(start=from_point3d_to_grpc_point(segment[0]),
61-
end=from_point3d_to_grpc_point(segment[1]))
60+
Line(
61+
start=from_point3d_to_grpc_point(segment[0]),
62+
end=from_point3d_to_grpc_point(segment[1]),
63+
)
6264
)
6365

6466
# Create the request - assumes all inputs are valid and of the proper type
@@ -85,8 +87,10 @@ def create_descriptive_beam_segments(self, **kwargs) -> dict: # noqa: D102
8587
lines = []
8688
for segment in kwargs["segments"]:
8789
lines.append(
88-
Line(start=from_point3d_to_grpc_point(segment[0]),
89-
end=from_point3d_to_grpc_point(segment[1]))
90+
Line(
91+
start=from_point3d_to_grpc_point(segment[0]),
92+
end=from_point3d_to_grpc_point(segment[1]),
93+
)
9094
)
9195

9296
# Create the request - assumes all inputs are valid and of the proper type

src/ansys/geometry/core/designer/component.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
SetSharedTopologyRequest,
4141
)
4242
from ansys.api.geometry.v0.components_pb2_grpc import ComponentsStub
43-
from ansys.api.geometry.v0.models_pb2 import Direction, Line, SetObjectNameRequest
43+
from ansys.api.geometry.v0.models_pb2 import Direction, SetObjectNameRequest
4444
from beartype import beartype as check_input_types
4545
from pint import Quantity
4646

0 commit comments

Comments
 (0)