From 7e37304c5968538abf9b078ee80b0fa1c813911f Mon Sep 17 00:00:00 2001 From: WT-MM Date: Sun, 24 Nov 2024 08:35:14 +0000 Subject: [PATCH] lint --- pykos/pykos/client.py | 1 + pykos/pykos/services/actuator.py | 2 +- pykos/pykos/services/process_manager.py | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/pykos/pykos/client.py b/pykos/pykos/client.py index a047764..6f6db09 100644 --- a/pykos/pykos/client.py +++ b/pykos/pykos/client.py @@ -6,6 +6,7 @@ from pykos.services.imu import IMUServiceClient from pykos.services.process_manager import ProcessManagerServiceClient + class KOS: """KOS client. diff --git a/pykos/pykos/services/actuator.py b/pykos/pykos/services/actuator.py index 1b2dbaa..b25c4ae 100644 --- a/pykos/pykos/services/actuator.py +++ b/pykos/pykos/services/actuator.py @@ -90,7 +90,7 @@ def configure_actuator(self, actuator_id: int, **kwargs: Dict[str, Any]) -> comm request = actuator_pb2.ConfigureActuatorRequest(**config) return self.stub.ConfigureActuator(request) - def get_actuators_state(self, actuator_ids: List[int] = None) -> List[common_pb2.ActionResult]: + def get_actuators_state(self, actuator_ids: Optional[List[int]] = None) -> List[common_pb2.ActionResult]: """Get the state of multiple actuators. Args: diff --git a/pykos/pykos/services/process_manager.py b/pykos/pykos/services/process_manager.py index 84aac36..2e09151 100644 --- a/pykos/pykos/services/process_manager.py +++ b/pykos/pykos/services/process_manager.py @@ -1,4 +1,5 @@ -"""Process manager service client""" +"""Process manager service client.""" + from typing import Optional, Tuple import grpc