Skip to content

Commit 3a87e3b

Browse files
style: auto-fix linting issues
1 parent a2337b8 commit 3a87e3b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

codeflash/optimization/optimizer.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,9 @@ def rank_all_functions_globally(
496496
# Boost functions with existing unit tests above untested ones, preserving addressable-time order within each tier
497497
if function_to_tests:
498498
globally_ranked.sort(
499-
key=lambda x: -(1 if existing_unit_test_count(x[1], self.args.project_root, function_to_tests) > 0 else 0)
499+
key=lambda x: (
500+
-(1 if existing_unit_test_count(x[1], self.args.project_root, function_to_tests) > 0 else 0)
501+
)
500502
)
501503

502504
console.rule()

0 commit comments

Comments
 (0)