Skip to content

Commit

Permalink
Fix code style problem consider-using-max-builtin
Browse files Browse the repository at this point in the history
  • Loading branch information
alekseevk1 authored Mar 11, 2024
1 parent 9eaa967 commit 3d65ed0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions scripts/mea/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3d65ed0

Please sign in to comment.