Skip to content

Commit

Permalink
if TYPE_CHECKING: # pragma: no cover
Browse files Browse the repository at this point in the history
  • Loading branch information
yck011522 committed Oct 23, 2024
1 parent 3cac8bb commit aa84624
Show file tree
Hide file tree
Showing 45 changed files with 45 additions and 45 deletions.
2 changes: 1 addition & 1 deletion src/compas_fab/backends/interfaces/backend_features.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/compas_fab/backends/interfaces/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/compas_fab/backends/interfaces/planner.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion src/compas_fab/backends/kinematics/planner.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion src/compas_fab/backends/kinematics/solvers/offset_wrist.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/compas_fab/backends/kinematics/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/compas_fab/backends/pybullet/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/compas_fab/backends/pybullet/planner.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__ = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/compas_fab/backends/ros/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__ = [
Expand Down
2 changes: 1 addition & 1 deletion src/compas_fab/backends/ros/messages/moveit_msgs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/compas_fab/backends/ros/planner.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__ = [
Expand Down
2 changes: 1 addition & 1 deletion src/compas_fab/robots/constraints.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion src/compas_fab/robots/reachability_map/reachability_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/compas_fab/robots/rigid_body.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/compas_fab/robots/robot_library.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion src/compas_fab/robots/semantics.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/compas_fab/robots/state.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/compas_fab/robots/targets.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion src/compas_fab/robots/trajectory.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/compas_fab/robots/wrench.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/compas_fab/utilities/filesystem.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion src/compas_fab/utilities/numbers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion tests/robots/test_robot_cell.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down
Loading

0 comments on commit aa84624

Please sign in to comment.