File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -380,9 +380,7 @@ def determine_best_candidate(
380380 console .rule ()
381381 candidates = deque (candidates )
382382 refinement_done = False
383- refinements_added = False
384383 line_profiler_done = False
385- line_profiler_added = False
386384 future_all_refinements : list [concurrent .futures .Future ] = []
387385 ast_code_to_id = {}
388386 valid_optimizations = []
@@ -407,7 +405,7 @@ def determine_best_candidate(
407405 original_len = len (candidates )
408406 while True :
409407 try :
410- if len (candidates )> 0 :
408+ if len (candidates ) > 0 :
411409 candidate = candidates .popleft ()
412410 else :
413411 if not line_profiler_done :
@@ -416,7 +414,9 @@ def determine_best_candidate(
416414 line_profile_results = future_line_profile_results .result ()
417415 candidates .extend (line_profile_results )
418416 original_len += len (line_profile_results )
419- logger .info (f"Added results from line profiler to candidates, total candidates now: { original_len } " )
417+ logger .info (
418+ f"Added results from line profiler to candidates, total candidates now: { original_len } "
419+ )
420420 line_profiler_done = True
421421 continue
422422 if line_profiler_done and not refinement_done :
You can’t perform that action at this time.
0 commit comments