Skip to content

Commit

Permalink
chore: auto fixes from pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Jan 21, 2025
1 parent 1185d02 commit c6cba89
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/ansys/geometry/core/tools/repair_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ def find_stitch_faces(self, bodies: list["Body"]) -> list[StitchFaceProblemAreas
)
for res in problem_areas_response.result
]

def find_and_fix_short_edges(
self, bodies: list["Body"], length: Real = 0.0
) -> RepairToolMessage:
Expand Down Expand Up @@ -423,7 +423,7 @@ def find_and_fix_extra_edges(
response.result.modified_bodies_monikers,
)
return message

def find_and_fix_split_edges(
self, bodies: list["Body"], angle: Real = 0.0, length: Real = 0.0
) -> RepairToolMessage:
Expand All @@ -447,7 +447,7 @@ def find_and_fix_split_edges(
"""
if not bodies:
return RepairToolMessage(False, [], [])

angle_value = DoubleValue(value=float(angle))
length_value = DoubleValue(value=float(length))
body_ids = [body.id for body in bodies]
Expand All @@ -465,4 +465,4 @@ def find_and_fix_split_edges(
response.result.created_bodies_monikers,
response.result.modified_bodies_monikers,
)
return message
return message

0 comments on commit c6cba89

Please sign in to comment.