From aa846249192692c42c2e2286564c2e2697a339c0 Mon Sep 17 00:00:00 2001 From: Victor LEUNG Date: Wed, 23 Oct 2024 11:06:16 +0800 Subject: [PATCH] if TYPE_CHECKING: # pragma: no cover --- src/compas_fab/backends/interfaces/backend_features.py | 2 +- src/compas_fab/backends/interfaces/client.py | 2 +- src/compas_fab/backends/interfaces/planner.py | 2 +- .../backend_features/analytical_forward_kinematics.py | 2 +- .../backend_features/analytical_inverse_kinematics.py | 2 +- .../backend_features/analytical_plan_cartesian_motion.py | 2 +- .../backend_features/analytical_pybullet_inverse_kinematics.py | 2 +- .../kinematics/backend_features/analytical_set_robot_cell.py | 2 +- .../backend_features/analytical_set_robot_cell_state.py | 2 +- src/compas_fab/backends/kinematics/planner.py | 2 +- .../backends/kinematics/solvers/analytical_kinematics.py | 2 +- src/compas_fab/backends/kinematics/solvers/offset_wrist.py | 2 +- .../backends/kinematics/solvers/offset_wrist_kinematics.py | 2 +- .../backends/kinematics/solvers/spherical_wrist_kinematics.py | 2 +- src/compas_fab/backends/kinematics/utils.py | 2 +- .../pybullet/backend_features/pybullet_check_collision.py | 2 +- .../pybullet/backend_features/pybullet_forward_kinematics.py | 2 +- .../pybullet/backend_features/pybullet_inverse_kinematics.py | 2 +- .../pybullet/backend_features/pybullet_plan_cartesian_motion.py | 2 +- .../pybullet/backend_features/pybullet_set_robot_cell.py | 2 +- .../pybullet/backend_features/pybullet_set_robot_cell_state.py | 2 +- src/compas_fab/backends/pybullet/client.py | 2 +- src/compas_fab/backends/pybullet/planner.py | 2 +- .../backends/ros/backend_features/move_it_forward_kinematics.py | 2 +- .../backends/ros/backend_features/move_it_inverse_kinematics.py | 2 +- .../ros/backend_features/move_it_plan_cartesian_motion.py | 2 +- .../backends/ros/backend_features/move_it_plan_motion.py | 2 +- .../backends/ros/backend_features/move_it_set_robot_cell.py | 2 +- .../ros/backend_features/move_it_set_robot_cell_state.py | 2 +- src/compas_fab/backends/ros/client.py | 2 +- src/compas_fab/backends/ros/messages/moveit_msgs.py | 2 +- src/compas_fab/backends/ros/planner.py | 2 +- src/compas_fab/robots/constraints.py | 2 +- src/compas_fab/robots/reachability_map/reachability_map.py | 2 +- src/compas_fab/robots/rigid_body.py | 2 +- src/compas_fab/robots/robot_library.py | 2 +- src/compas_fab/robots/semantics.py | 2 +- src/compas_fab/robots/state.py | 2 +- src/compas_fab/robots/targets.py | 2 +- src/compas_fab/robots/trajectory.py | 2 +- src/compas_fab/robots/wrench.py | 2 +- src/compas_fab/utilities/filesystem.py | 2 +- src/compas_fab/utilities/numbers.py | 2 +- tests/robots/test_robot_cell.py | 2 +- tests/robots/test_state.py | 2 +- 45 files changed, 45 insertions(+), 45 deletions(-) diff --git a/src/compas_fab/backends/interfaces/backend_features.py b/src/compas_fab/backends/interfaces/backend_features.py index 7ed72e9e9..f37d19567 100644 --- a/src/compas_fab/backends/interfaces/backend_features.py +++ b/src/compas_fab/backends/interfaces/backend_features.py @@ -8,7 +8,7 @@ if not IPY: from typing import TYPE_CHECKING - if TYPE_CHECKING: + if TYPE_CHECKING: # pragma: no cover from typing import Dict # noqa: F401 from typing import List # noqa: F401 from typing import Optional # noqa: F401 diff --git a/src/compas_fab/backends/interfaces/client.py b/src/compas_fab/backends/interfaces/client.py index 17efd642d..d474fe9f4 100644 --- a/src/compas_fab/backends/interfaces/client.py +++ b/src/compas_fab/backends/interfaces/client.py @@ -7,7 +7,7 @@ if not IPY: from typing import TYPE_CHECKING - if TYPE_CHECKING: + if TYPE_CHECKING: # pragma: no cover from compas_fab.robots import RobotCell # noqa: F401 from compas_fab.robots import RobotCellState # noqa: F401 from compas_fab.robots import RobotSemantics # noqa: F401 diff --git a/src/compas_fab/backends/interfaces/planner.py b/src/compas_fab/backends/interfaces/planner.py index 3364354a4..d888b9a57 100644 --- a/src/compas_fab/backends/interfaces/planner.py +++ b/src/compas_fab/backends/interfaces/planner.py @@ -11,7 +11,7 @@ if not IPY: from typing import TYPE_CHECKING - if TYPE_CHECKING: + if TYPE_CHECKING: # pragma: no cover from typing import List # noqa: F401 from compas_fab.backends.interfaces import ClientInterface # noqa: F401 diff --git a/src/compas_fab/backends/kinematics/backend_features/analytical_forward_kinematics.py b/src/compas_fab/backends/kinematics/backend_features/analytical_forward_kinematics.py index d73c101c7..4cc297833 100644 --- a/src/compas_fab/backends/kinematics/backend_features/analytical_forward_kinematics.py +++ b/src/compas_fab/backends/kinematics/backend_features/analytical_forward_kinematics.py @@ -5,7 +5,7 @@ if not IPY: from typing import TYPE_CHECKING - if TYPE_CHECKING: + if TYPE_CHECKING: # pragma: no cover from typing import Optional # noqa: F401 from compas.geometry import Frame # noqa: F401 diff --git a/src/compas_fab/backends/kinematics/backend_features/analytical_inverse_kinematics.py b/src/compas_fab/backends/kinematics/backend_features/analytical_inverse_kinematics.py index bd5eee62a..f2e3b2ac2 100644 --- a/src/compas_fab/backends/kinematics/backend_features/analytical_inverse_kinematics.py +++ b/src/compas_fab/backends/kinematics/backend_features/analytical_inverse_kinematics.py @@ -7,7 +7,7 @@ if not IPY: from typing import TYPE_CHECKING - if TYPE_CHECKING: + if TYPE_CHECKING: # pragma: no cover from compas.geometry import Frame # noqa: F401 from compas_fab.backends import AnalyticalKinematicsPlanner # noqa: F401 from compas_robots import Configuration # noqa: F401 diff --git a/src/compas_fab/backends/kinematics/backend_features/analytical_plan_cartesian_motion.py b/src/compas_fab/backends/kinematics/backend_features/analytical_plan_cartesian_motion.py index c9fdb79a0..a13cf4827 100644 --- a/src/compas_fab/backends/kinematics/backend_features/analytical_plan_cartesian_motion.py +++ b/src/compas_fab/backends/kinematics/backend_features/analytical_plan_cartesian_motion.py @@ -15,7 +15,7 @@ if not IPY: from typing import TYPE_CHECKING - if TYPE_CHECKING: + if TYPE_CHECKING: # pragma: no cover from compas_fab.backends import AnalyticalPyBulletPlanner # noqa: F401 from compas_fab.robots import RobotCellState # noqa: F401 from compas_fab.robots import Waypoints # noqa: F401 diff --git a/src/compas_fab/backends/kinematics/backend_features/analytical_pybullet_inverse_kinematics.py b/src/compas_fab/backends/kinematics/backend_features/analytical_pybullet_inverse_kinematics.py index d6f18cb17..f037b0549 100644 --- a/src/compas_fab/backends/kinematics/backend_features/analytical_pybullet_inverse_kinematics.py +++ b/src/compas_fab/backends/kinematics/backend_features/analytical_pybullet_inverse_kinematics.py @@ -7,7 +7,7 @@ if not IPY: from typing import TYPE_CHECKING - if TYPE_CHECKING: + if TYPE_CHECKING: # pragma: no cover from compas_fab.backends import AnalyticalPyBulletPlanner # noqa: F401 from compas_fab.robots import RobotCellState # noqa: F401 from compas_fab.robots import Target # noqa: F401 diff --git a/src/compas_fab/backends/kinematics/backend_features/analytical_set_robot_cell.py b/src/compas_fab/backends/kinematics/backend_features/analytical_set_robot_cell.py index 36aae5c87..b25886d5e 100644 --- a/src/compas_fab/backends/kinematics/backend_features/analytical_set_robot_cell.py +++ b/src/compas_fab/backends/kinematics/backend_features/analytical_set_robot_cell.py @@ -7,7 +7,7 @@ if not IPY: from typing import TYPE_CHECKING - if TYPE_CHECKING: + if TYPE_CHECKING: # pragma: no cover from typing import Dict # noqa: F401 from typing import Optional # noqa: F401 diff --git a/src/compas_fab/backends/kinematics/backend_features/analytical_set_robot_cell_state.py b/src/compas_fab/backends/kinematics/backend_features/analytical_set_robot_cell_state.py index 43c4861d2..6b0133b5e 100644 --- a/src/compas_fab/backends/kinematics/backend_features/analytical_set_robot_cell_state.py +++ b/src/compas_fab/backends/kinematics/backend_features/analytical_set_robot_cell_state.py @@ -5,7 +5,7 @@ if not IPY: from typing import TYPE_CHECKING - if TYPE_CHECKING: + if TYPE_CHECKING: # pragma: no cover from compas_fab.robots import RobotCellState # noqa: F401 diff --git a/src/compas_fab/backends/kinematics/planner.py b/src/compas_fab/backends/kinematics/planner.py index ac37fc5ea..1f659f569 100644 --- a/src/compas_fab/backends/kinematics/planner.py +++ b/src/compas_fab/backends/kinematics/planner.py @@ -16,7 +16,7 @@ if not IPY: from typing import TYPE_CHECKING - if TYPE_CHECKING: + if TYPE_CHECKING: # pragma: no cover from typing import Optional # noqa: F401 from compas_fab.backends.kinematics.solvers import AnalyticalKinematics # noqa: F401 diff --git a/src/compas_fab/backends/kinematics/solvers/analytical_kinematics.py b/src/compas_fab/backends/kinematics/solvers/analytical_kinematics.py index 45a51a2b2..13d7c8f97 100644 --- a/src/compas_fab/backends/kinematics/solvers/analytical_kinematics.py +++ b/src/compas_fab/backends/kinematics/solvers/analytical_kinematics.py @@ -3,7 +3,7 @@ if not IPY: from typing import TYPE_CHECKING - if TYPE_CHECKING: + if TYPE_CHECKING: # pragma: no cover from typing import List # noqa: F401 from typing import Optional # noqa: F401 diff --git a/src/compas_fab/backends/kinematics/solvers/offset_wrist.py b/src/compas_fab/backends/kinematics/solvers/offset_wrist.py index e3c147862..9ed441ab1 100644 --- a/src/compas_fab/backends/kinematics/solvers/offset_wrist.py +++ b/src/compas_fab/backends/kinematics/solvers/offset_wrist.py @@ -15,7 +15,7 @@ if not IPY: from typing import TYPE_CHECKING - if TYPE_CHECKING: + if TYPE_CHECKING: # pragma: no cover from typing import List # noqa: F401 diff --git a/src/compas_fab/backends/kinematics/solvers/offset_wrist_kinematics.py b/src/compas_fab/backends/kinematics/solvers/offset_wrist_kinematics.py index afeb92fcf..27db37293 100644 --- a/src/compas_fab/backends/kinematics/solvers/offset_wrist_kinematics.py +++ b/src/compas_fab/backends/kinematics/solvers/offset_wrist_kinematics.py @@ -7,7 +7,7 @@ if not IPY: from typing import TYPE_CHECKING - if TYPE_CHECKING: + if TYPE_CHECKING: # pragma: no cover from typing import List # noqa: F401 from compas.geometry import Frame # noqa: F401 diff --git a/src/compas_fab/backends/kinematics/solvers/spherical_wrist_kinematics.py b/src/compas_fab/backends/kinematics/solvers/spherical_wrist_kinematics.py index de3b366d2..bcf382dda 100644 --- a/src/compas_fab/backends/kinematics/solvers/spherical_wrist_kinematics.py +++ b/src/compas_fab/backends/kinematics/solvers/spherical_wrist_kinematics.py @@ -12,7 +12,7 @@ if not IPY: from typing import TYPE_CHECKING - if TYPE_CHECKING: + if TYPE_CHECKING: # pragma: no cover from typing import List # noqa: F401 from compas.geometry import Frame # noqa: F401 diff --git a/src/compas_fab/backends/kinematics/utils.py b/src/compas_fab/backends/kinematics/utils.py index c93d8a455..864bf4eb7 100644 --- a/src/compas_fab/backends/kinematics/utils.py +++ b/src/compas_fab/backends/kinematics/utils.py @@ -5,7 +5,7 @@ if not IPY: from typing import TYPE_CHECKING - if TYPE_CHECKING: + if TYPE_CHECKING: # pragma: no cover from compas_fab.robots import RobotCell # noqa: F401 from compas_robots import Configuration # noqa: F401 from typing import List # noqa: F401 diff --git a/src/compas_fab/backends/pybullet/backend_features/pybullet_check_collision.py b/src/compas_fab/backends/pybullet/backend_features/pybullet_check_collision.py index 9292c670e..a5b3e7889 100644 --- a/src/compas_fab/backends/pybullet/backend_features/pybullet_check_collision.py +++ b/src/compas_fab/backends/pybullet/backend_features/pybullet_check_collision.py @@ -8,7 +8,7 @@ if not IPY: from typing import TYPE_CHECKING - if TYPE_CHECKING: + if TYPE_CHECKING: # pragma: no cover from typing import Dict # noqa: F401 from typing import List # noqa: F401 from typing import Optional # noqa: F401 diff --git a/src/compas_fab/backends/pybullet/backend_features/pybullet_forward_kinematics.py b/src/compas_fab/backends/pybullet/backend_features/pybullet_forward_kinematics.py index 97f104521..dd98ec322 100644 --- a/src/compas_fab/backends/pybullet/backend_features/pybullet_forward_kinematics.py +++ b/src/compas_fab/backends/pybullet/backend_features/pybullet_forward_kinematics.py @@ -10,7 +10,7 @@ if not IPY: from typing import TYPE_CHECKING - if TYPE_CHECKING: + if TYPE_CHECKING: # pragma: no cover from typing import Optional # noqa: F401 from compas.geometry import Frame # noqa: F401 diff --git a/src/compas_fab/backends/pybullet/backend_features/pybullet_inverse_kinematics.py b/src/compas_fab/backends/pybullet/backend_features/pybullet_inverse_kinematics.py index 328674a71..a89ddde56 100644 --- a/src/compas_fab/backends/pybullet/backend_features/pybullet_inverse_kinematics.py +++ b/src/compas_fab/backends/pybullet/backend_features/pybullet_inverse_kinematics.py @@ -7,7 +7,7 @@ if not IPY: from typing import TYPE_CHECKING - if TYPE_CHECKING: + if TYPE_CHECKING: # pragma: no cover from compas_robots import Configuration # noqa: F401 from typing import Optional # noqa: F401 from typing import Generator # noqa: F401 diff --git a/src/compas_fab/backends/pybullet/backend_features/pybullet_plan_cartesian_motion.py b/src/compas_fab/backends/pybullet/backend_features/pybullet_plan_cartesian_motion.py index 26a82af80..816fa5d13 100644 --- a/src/compas_fab/backends/pybullet/backend_features/pybullet_plan_cartesian_motion.py +++ b/src/compas_fab/backends/pybullet/backend_features/pybullet_plan_cartesian_motion.py @@ -31,7 +31,7 @@ if not IPY: from typing import TYPE_CHECKING - if TYPE_CHECKING: + if TYPE_CHECKING: # pragma: no cover from typing import Dict # noqa: F401 from typing import List # noqa: F401 from typing import Optional # noqa: F401 diff --git a/src/compas_fab/backends/pybullet/backend_features/pybullet_set_robot_cell.py b/src/compas_fab/backends/pybullet/backend_features/pybullet_set_robot_cell.py index 9d788fbd4..a8d38a6e8 100644 --- a/src/compas_fab/backends/pybullet/backend_features/pybullet_set_robot_cell.py +++ b/src/compas_fab/backends/pybullet/backend_features/pybullet_set_robot_cell.py @@ -5,7 +5,7 @@ if not IPY: from typing import TYPE_CHECKING - if TYPE_CHECKING: + if TYPE_CHECKING: # pragma: no cover from typing import Dict # noqa: F401 from typing import Optional # noqa: F401 diff --git a/src/compas_fab/backends/pybullet/backend_features/pybullet_set_robot_cell_state.py b/src/compas_fab/backends/pybullet/backend_features/pybullet_set_robot_cell_state.py index ad04472a6..f40b7414d 100644 --- a/src/compas_fab/backends/pybullet/backend_features/pybullet_set_robot_cell_state.py +++ b/src/compas_fab/backends/pybullet/backend_features/pybullet_set_robot_cell_state.py @@ -7,7 +7,7 @@ if not IPY: from typing import TYPE_CHECKING - if TYPE_CHECKING: + if TYPE_CHECKING: # pragma: no cover from compas_robots import ToolModel # noqa: F401 from compas_fab.backends import PyBulletClient # noqa: F401 diff --git a/src/compas_fab/backends/pybullet/client.py b/src/compas_fab/backends/pybullet/client.py index 4c0ab6db4..f3ea6d888 100644 --- a/src/compas_fab/backends/pybullet/client.py +++ b/src/compas_fab/backends/pybullet/client.py @@ -32,7 +32,7 @@ if not IPY: from typing import TYPE_CHECKING - if TYPE_CHECKING: + if TYPE_CHECKING: # pragma: no cover from typing import List # noqa: F401 from typing import Optional # noqa: F401 from typing import Tuple # noqa: F401 diff --git a/src/compas_fab/backends/pybullet/planner.py b/src/compas_fab/backends/pybullet/planner.py index a541f6337..8df736541 100644 --- a/src/compas_fab/backends/pybullet/planner.py +++ b/src/compas_fab/backends/pybullet/planner.py @@ -11,7 +11,7 @@ if not IPY: from typing import TYPE_CHECKING - if TYPE_CHECKING: + if TYPE_CHECKING: # pragma: no cover from compas_fab.backends import PyBulletClient # noqa: F401 __all__ = [ diff --git a/src/compas_fab/backends/ros/backend_features/move_it_forward_kinematics.py b/src/compas_fab/backends/ros/backend_features/move_it_forward_kinematics.py index 623b6dcb8..81d1b6f53 100644 --- a/src/compas_fab/backends/ros/backend_features/move_it_forward_kinematics.py +++ b/src/compas_fab/backends/ros/backend_features/move_it_forward_kinematics.py @@ -19,7 +19,7 @@ if not IPY: from typing import TYPE_CHECKING - if TYPE_CHECKING: + if TYPE_CHECKING: # pragma: no cover from compas_fab.backends.ros.client import RosClient # noqa: F401 from compas_fab.backends.ros.planner import MoveItPlanner # noqa: F401 from compas_fab.robots import RobotCell # noqa: F401 diff --git a/src/compas_fab/backends/ros/backend_features/move_it_inverse_kinematics.py b/src/compas_fab/backends/ros/backend_features/move_it_inverse_kinematics.py index cfdd135a9..a198817ac 100644 --- a/src/compas_fab/backends/ros/backend_features/move_it_inverse_kinematics.py +++ b/src/compas_fab/backends/ros/backend_features/move_it_inverse_kinematics.py @@ -7,7 +7,7 @@ if not IPY: from typing import TYPE_CHECKING - if TYPE_CHECKING: + if TYPE_CHECKING: # pragma: no cover from compas_robots import Configuration # noqa: F401 from compas.geometry import Frame # noqa: F401 from typing import Optional # noqa: F401 diff --git a/src/compas_fab/backends/ros/backend_features/move_it_plan_cartesian_motion.py b/src/compas_fab/backends/ros/backend_features/move_it_plan_cartesian_motion.py index b234175c9..eab17db98 100644 --- a/src/compas_fab/backends/ros/backend_features/move_it_plan_cartesian_motion.py +++ b/src/compas_fab/backends/ros/backend_features/move_it_plan_cartesian_motion.py @@ -20,7 +20,7 @@ if not IPY: from typing import TYPE_CHECKING - if TYPE_CHECKING: + if TYPE_CHECKING: # pragma: no cover from typing import Callable # noqa: F401 from typing import Dict # noqa: F401 from typing import Optional # noqa: F401 diff --git a/src/compas_fab/backends/ros/backend_features/move_it_plan_motion.py b/src/compas_fab/backends/ros/backend_features/move_it_plan_motion.py index 5e96ef92c..44ab56fd4 100644 --- a/src/compas_fab/backends/ros/backend_features/move_it_plan_motion.py +++ b/src/compas_fab/backends/ros/backend_features/move_it_plan_motion.py @@ -23,7 +23,7 @@ if not IPY: from typing import TYPE_CHECKING - if TYPE_CHECKING: + if TYPE_CHECKING: # pragma: no cover from compas_fab.backends import MoveItPlanner # noqa: F401 from compas_fab.backends import RosClient # noqa: F401 from compas_fab.robots import RobotCell # noqa: F401 diff --git a/src/compas_fab/backends/ros/backend_features/move_it_set_robot_cell.py b/src/compas_fab/backends/ros/backend_features/move_it_set_robot_cell.py index 247f47062..d71f9087e 100644 --- a/src/compas_fab/backends/ros/backend_features/move_it_set_robot_cell.py +++ b/src/compas_fab/backends/ros/backend_features/move_it_set_robot_cell.py @@ -22,7 +22,7 @@ if not IPY: from typing import TYPE_CHECKING - if TYPE_CHECKING: + if TYPE_CHECKING: # pragma: no cover from typing import Callable # noqa: F401 from typing import Dict # noqa: F401 from typing import Optional # noqa: F401 diff --git a/src/compas_fab/backends/ros/backend_features/move_it_set_robot_cell_state.py b/src/compas_fab/backends/ros/backend_features/move_it_set_robot_cell_state.py index c072b5baa..d33175f09 100644 --- a/src/compas_fab/backends/ros/backend_features/move_it_set_robot_cell_state.py +++ b/src/compas_fab/backends/ros/backend_features/move_it_set_robot_cell_state.py @@ -23,7 +23,7 @@ if not IPY: from typing import TYPE_CHECKING - if TYPE_CHECKING: + if TYPE_CHECKING: # pragma: no cover from typing import Callable # noqa: F401 from typing import Dict # noqa: F401 from typing import Optional # noqa: F401 diff --git a/src/compas_fab/backends/ros/client.py b/src/compas_fab/backends/ros/client.py index dc2a2addb..2f7d9d734 100644 --- a/src/compas_fab/backends/ros/client.py +++ b/src/compas_fab/backends/ros/client.py @@ -34,7 +34,7 @@ if not IPY: from typing import TYPE_CHECKING - if TYPE_CHECKING: + if TYPE_CHECKING: # pragma: no cover from typing import Optional # noqa: F401 __all__ = [ diff --git a/src/compas_fab/backends/ros/messages/moveit_msgs.py b/src/compas_fab/backends/ros/messages/moveit_msgs.py index 4267726da..89ba8af7f 100644 --- a/src/compas_fab/backends/ros/messages/moveit_msgs.py +++ b/src/compas_fab/backends/ros/messages/moveit_msgs.py @@ -23,7 +23,7 @@ if not IPY: from typing import TYPE_CHECKING - if TYPE_CHECKING: + if TYPE_CHECKING: # pragma: no cover from typing import Optional # noqa: F401 from compas_fab.robots import RigidBody # noqa: F401 diff --git a/src/compas_fab/backends/ros/planner.py b/src/compas_fab/backends/ros/planner.py index db13f649e..3c77b2f04 100644 --- a/src/compas_fab/backends/ros/planner.py +++ b/src/compas_fab/backends/ros/planner.py @@ -24,7 +24,7 @@ if not IPY: from typing import TYPE_CHECKING - if TYPE_CHECKING: + if TYPE_CHECKING: # pragma: no cover from typing import Dict # noqa: F401 __all__ = [ diff --git a/src/compas_fab/robots/constraints.py b/src/compas_fab/robots/constraints.py index 0da401123..730271dc2 100644 --- a/src/compas_fab/robots/constraints.py +++ b/src/compas_fab/robots/constraints.py @@ -11,7 +11,7 @@ if not IPY: from typing import TYPE_CHECKING - if TYPE_CHECKING: + if TYPE_CHECKING: # pragma: no cover from typing import Optional # noqa: F401 from typing import Union # noqa: F401 diff --git a/src/compas_fab/robots/reachability_map/reachability_map.py b/src/compas_fab/robots/reachability_map/reachability_map.py index c7aabfb6a..4c4f452d5 100644 --- a/src/compas_fab/robots/reachability_map/reachability_map.py +++ b/src/compas_fab/robots/reachability_map/reachability_map.py @@ -9,7 +9,7 @@ if not IPY: from typing import TYPE_CHECKING - if TYPE_CHECKING: + if TYPE_CHECKING: # pragma: no cover from compas_fab.robots import RobotCellState # noqa: F401 from compas_fab.backends.interfaces import PlannerInterface # noqa: F401 from compas_fab.robots import TargetMode # noqa: F401 diff --git a/src/compas_fab/robots/rigid_body.py b/src/compas_fab/robots/rigid_body.py index 0cc697d41..2a72c328c 100644 --- a/src/compas_fab/robots/rigid_body.py +++ b/src/compas_fab/robots/rigid_body.py @@ -4,7 +4,7 @@ if not IPY: from typing import TYPE_CHECKING - if TYPE_CHECKING: + if TYPE_CHECKING: # pragma: no cover from typing import List # noqa: F401 from compas.datastructures import Mesh # noqa: F401 diff --git a/src/compas_fab/robots/robot_library.py b/src/compas_fab/robots/robot_library.py index c249f37cd..10db40077 100644 --- a/src/compas_fab/robots/robot_library.py +++ b/src/compas_fab/robots/robot_library.py @@ -18,7 +18,7 @@ if not IPY: from typing import TYPE_CHECKING - if TYPE_CHECKING: + if TYPE_CHECKING: # pragma: no cover from typing import Optional # noqa: F401 from typing import Tuple # noqa: F401 diff --git a/src/compas_fab/robots/semantics.py b/src/compas_fab/robots/semantics.py index 5c508d8cd..99f79b424 100644 --- a/src/compas_fab/robots/semantics.py +++ b/src/compas_fab/robots/semantics.py @@ -9,7 +9,7 @@ if not IPY: from typing import TYPE_CHECKING - if TYPE_CHECKING: + if TYPE_CHECKING: # pragma: no cover from typing import Any # noqa: F401 from typing import Dict # noqa: F401 from typing import List # noqa: F401 diff --git a/src/compas_fab/robots/state.py b/src/compas_fab/robots/state.py index 3281d204f..1ae5e05ce 100644 --- a/src/compas_fab/robots/state.py +++ b/src/compas_fab/robots/state.py @@ -6,7 +6,7 @@ if not IPY: from typing import TYPE_CHECKING - if TYPE_CHECKING: + if TYPE_CHECKING: # pragma: no cover from typing import Dict # noqa: F401 from typing import List # noqa: F401 from typing import Optional # noqa: F401 diff --git a/src/compas_fab/robots/targets.py b/src/compas_fab/robots/targets.py index 3bbd8f1a4..963c3302e 100644 --- a/src/compas_fab/robots/targets.py +++ b/src/compas_fab/robots/targets.py @@ -11,7 +11,7 @@ if not IPY: from typing import TYPE_CHECKING - if TYPE_CHECKING: + if TYPE_CHECKING: # pragma: no cover from typing import Optional # noqa: F401 from typing import Tuple # noqa: F401 diff --git a/src/compas_fab/robots/trajectory.py b/src/compas_fab/robots/trajectory.py index 859a645c0..fc8755e9c 100644 --- a/src/compas_fab/robots/trajectory.py +++ b/src/compas_fab/robots/trajectory.py @@ -14,7 +14,7 @@ if not IPY: from typing import TYPE_CHECKING - if TYPE_CHECKING: + if TYPE_CHECKING: # pragma: no cover from typing import Any # noqa: F401 from typing import Dict # noqa: F401 from typing import List # noqa: F401 diff --git a/src/compas_fab/robots/wrench.py b/src/compas_fab/robots/wrench.py index d11a81f14..fd4088ae3 100644 --- a/src/compas_fab/robots/wrench.py +++ b/src/compas_fab/robots/wrench.py @@ -10,7 +10,7 @@ if not IPY: from typing import TYPE_CHECKING - if TYPE_CHECKING: + if TYPE_CHECKING: # pragma: no cover from typing import List # noqa: F401 from compas.geometry import Frame # noqa: F401 diff --git a/src/compas_fab/utilities/filesystem.py b/src/compas_fab/utilities/filesystem.py index 775e3df17..c13fcca3c 100644 --- a/src/compas_fab/utilities/filesystem.py +++ b/src/compas_fab/utilities/filesystem.py @@ -6,7 +6,7 @@ if not IPY: from typing import TYPE_CHECKING - if TYPE_CHECKING: + if TYPE_CHECKING: # pragma: no cover from typing import List # noqa: F401 from typing import Optional # noqa: F401 diff --git a/src/compas_fab/utilities/numbers.py b/src/compas_fab/utilities/numbers.py index 18c34ea63..1dd030c25 100644 --- a/src/compas_fab/utilities/numbers.py +++ b/src/compas_fab/utilities/numbers.py @@ -5,7 +5,7 @@ if not IPY: from typing import TYPE_CHECKING - if TYPE_CHECKING: + if TYPE_CHECKING: # pragma: no cover from typing import List # noqa: F401 from typing import Optional # noqa: F401 diff --git a/tests/robots/test_robot_cell.py b/tests/robots/test_robot_cell.py index a4b281d11..c5249ce6c 100644 --- a/tests/robots/test_robot_cell.py +++ b/tests/robots/test_robot_cell.py @@ -16,7 +16,7 @@ if not IPY: from typing import TYPE_CHECKING - if TYPE_CHECKING: + if TYPE_CHECKING: # pragma: no cover from typing import Tuple diff --git a/tests/robots/test_state.py b/tests/robots/test_state.py index efe6e8f2c..7f91b255b 100644 --- a/tests/robots/test_state.py +++ b/tests/robots/test_state.py @@ -11,7 +11,7 @@ if not IPY: from typing import TYPE_CHECKING - if TYPE_CHECKING: + if TYPE_CHECKING: # pragma: no cover from typing import Dict # noqa: F401 from typing import List # noqa: F401 from typing import Tuple # noqa: F401