From 6a2ccf71a33d2ba5ec2c44e722daf28e3b50761f Mon Sep 17 00:00:00 2001 From: Caleb Schilly Date: Tue, 17 Dec 2024 11:07:01 -0500 Subject: [PATCH] #558: fix pylint warnings --- src/lbaf/Execution/lbsAlgorithmBase.py | 2 +- src/lbaf/Execution/lbsClusteringTransferStrategy.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lbaf/Execution/lbsAlgorithmBase.py b/src/lbaf/Execution/lbsAlgorithmBase.py index 96b684bc..3b4aedd4 100644 --- a/src/lbaf/Execution/lbsAlgorithmBase.py +++ b/src/lbaf/Execution/lbsAlgorithmBase.py @@ -42,7 +42,7 @@ # import abc import os -from typing import Set +from typing import Set, List from ..IO.lbsStatistics import compute_function_statistics from ..Model.lbsRank import Rank diff --git a/src/lbaf/Execution/lbsClusteringTransferStrategy.py b/src/lbaf/Execution/lbsClusteringTransferStrategy.py index be26d300..d40e35af 100644 --- a/src/lbaf/Execution/lbsClusteringTransferStrategy.py +++ b/src/lbaf/Execution/lbsClusteringTransferStrategy.py @@ -132,8 +132,8 @@ def __build_rank_subclusters_heuristic(self, r_src : Rank, r_try : Rank, ave_loa subclusters = {} - amount_over_average = src_load - ave_load; - amount_under_average = ave_load - try_load; + amount_over_average = src_load - ave_load + amount_under_average = ave_load - try_load # print(f"amount_over_average={amount_over_average}, amount_under_average={amount_under_average}")