From 30ed68693bd689c5990b68a7b9c1baf1e7b2d9ff Mon Sep 17 00:00:00 2001 From: Wesley Maa Date: Mon, 25 Nov 2024 13:06:03 -0800 Subject: [PATCH] lint --- pykos/pykos/services/actuator.py | 1 + pykos/pykos/services/imu.py | 1 + pykos/pykos/services/process_manager.py | 1 + pykos/pyproject.toml | 11 +++++++---- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/pykos/pykos/services/actuator.py b/pykos/pykos/services/actuator.py index e49f715..ed4be3a 100644 --- a/pykos/pykos/services/actuator.py +++ b/pykos/pykos/services/actuator.py @@ -5,6 +5,7 @@ import grpc from google.longrunning import operations_pb2, operations_pb2_grpc from google.protobuf.any_pb2 import Any as AnyPb2 + from kos_protos import actuator_pb2, actuator_pb2_grpc, common_pb2 from kos_protos.actuator_pb2 import CalibrateActuatorMetadata diff --git a/pykos/pykos/services/imu.py b/pykos/pykos/services/imu.py index 832f27d..1af283d 100644 --- a/pykos/pykos/services/imu.py +++ b/pykos/pykos/services/imu.py @@ -2,6 +2,7 @@ import grpc from google.protobuf.empty_pb2 import Empty + from kos_protos import imu_pb2, imu_pb2_grpc diff --git a/pykos/pykos/services/process_manager.py b/pykos/pykos/services/process_manager.py index a700fcb..d83f9b4 100644 --- a/pykos/pykos/services/process_manager.py +++ b/pykos/pykos/services/process_manager.py @@ -4,6 +4,7 @@ import grpc from google.protobuf.empty_pb2 import Empty + from kos_protos import process_manager_pb2_grpc from kos_protos.common_pb2 import Error from kos_protos.process_manager_pb2 import KClipStartRequest diff --git a/pykos/pyproject.toml b/pykos/pyproject.toml index 4c8a3ef..a6bf9f4 100644 --- a/pykos/pyproject.toml +++ b/pykos/pyproject.toml @@ -42,10 +42,13 @@ module = [ "google.longrunning.*", "kos.*", "pykos.*", - "kos.actuator_pb2_grpc", - "kos.imu_pb2_grpc", - "kos.actuator_pb2", - "kos.imu_pb2" + "kos_protos.actuator_pb2_grpc", + "kos_protos.process_manager_pb2_grpc", + "kos_protos.imu_pb2_grpc", + "kos_protos.common_pb2", + "kos_protos.actuator_pb2", + "kos_protos.process_manager_pb2", + "kos_protos.imu_pb2" ] ignore_missing_imports = true follow_imports = "skip"