From 3d65ed08e2eccc121352b42faf78f3dc9a875a89 Mon Sep 17 00:00:00 2001 From: alekseevk1 <73096235+alekseevk1@users.noreply.github.com> Date: Mon, 11 Mar 2024 17:56:52 +0300 Subject: [PATCH] Fix code style problem consider-using-max-builtin --- scripts/mea/core.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/mea/core.py b/scripts/mea/core.py index e2acb54..6134d22 100644 --- a/scripts/mea/core.py +++ b/scripts/mea/core.py @@ -496,9 +496,7 @@ def __convert_to_number_of_compared_threads(result: dict) -> int: used_transitions.add(id_str) number_of_threads += 1 break - if number_of_threads > max_number_of_threads: - max_number_of_threads = number_of_threads - + max_number_of_threads = max(max_number_of_threads, number_of_threads) if number_of_threads == 0: break return max_number_of_threads