From 2ad9d61aa7eeb90d345fe5ca3f007fbc7110d867 Mon Sep 17 00:00:00 2001 From: Hayato Mizushima Date: Wed, 6 Nov 2024 15:41:00 +0900 Subject: [PATCH] fix: lint Signed-off-by: Hayato Mizushima --- .../driving_log_replayer_v2/diagnostics.py | 12 ++++++++---- .../test/unittest/test_diagnostics.py | 1 - 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/driving_log_replayer_v2/driving_log_replayer_v2/diagnostics.py b/driving_log_replayer_v2/driving_log_replayer_v2/diagnostics.py index ed0c0a67..c799e166 100644 --- a/driving_log_replayer_v2/driving_log_replayer_v2/diagnostics.py +++ b/driving_log_replayer_v2/driving_log_replayer_v2/diagnostics.py @@ -17,10 +17,14 @@ from typing import Literal from builtin_interfaces.msg import Time -from diagnostic_msgs.msg import DiagnosticArray, DiagnosticStatus -from pydantic import BaseModel, Field, model_validator - -from driving_log_replayer_v2.result import EvaluationItem, ResultBase +from diagnostic_msgs.msg import DiagnosticArray +from diagnostic_msgs.msg import DiagnosticStatus +from pydantic import BaseModel +from pydantic import Field +from pydantic import model_validator + +from driving_log_replayer_v2.result import EvaluationItem +from driving_log_replayer_v2.result import ResultBase from driving_log_replayer_v2.scenario import Scenario diff --git a/driving_log_replayer_v2/test/unittest/test_diagnostics.py b/driving_log_replayer_v2/test/unittest/test_diagnostics.py index 877c401f..251bbc44 100644 --- a/driving_log_replayer_v2/test/unittest/test_diagnostics.py +++ b/driving_log_replayer_v2/test/unittest/test_diagnostics.py @@ -12,7 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -from collections.abc import Callable from typing import Literal from builtin_interfaces.msg import Time