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 22, 2025
1 parent cedaf06 commit 846ce44
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/ansys/geometry/core/tools/repair_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@

from typing import TYPE_CHECKING

from beartype import beartype as check_input_types
from google.protobuf.wrappers_pb2 import DoubleValue

from ansys.api.geometry.v0.bodies_pb2_grpc import BodiesStub
Expand All @@ -47,8 +46,11 @@
get_edges_from_ids,
get_faces_from_ids,
)

from ansys.geometry.core.misc.checks import check_type, check_type_all_elements_in_iterable, min_backend_version
from ansys.geometry.core.misc.checks import (
check_type,
check_type_all_elements_in_iterable,
min_backend_version,
)
from ansys.geometry.core.tools.problem_areas import (
DuplicateFaceProblemAreas,
ExtraEdgeProblemAreas,
Expand Down Expand Up @@ -415,7 +417,6 @@ def find_and_fix_short_edges(
RepairToolMessage
Message containing created and/or modified bodies.
"""

check_type_all_elements_in_iterable(bodies, Body)
check_type(length, Real)

Expand Down Expand Up @@ -459,7 +460,6 @@ def find_and_fix_extra_edges(
RepairToolMessage
Message containing created and/or modified bodies.
"""

check_type_all_elements_in_iterable(bodies, Body)
check_type(length, Real)

Expand Down Expand Up @@ -505,7 +505,6 @@ def find_and_fix_split_edges(
RepairToolMessage
Message containing created and/or modified bodies.
"""

check_type_all_elements_in_iterable(bodies, Body)
check_type(length, Real)

Expand Down

0 comments on commit 846ce44

Please sign in to comment.