@@ -315,7 +315,7 @@ def _handle_empty_queue(self) -> CandidateNode | None:
315315 self .future_all_code_repair ,
316316 "Repairing {0} candidates" ,
317317 "Added {0} candidates from repair, total candidates now: {1}" ,
318- lambda : self .future_all_code_repair .clear (),
318+ lambda : self .future_all_code_repair .clear (), # noqa: PLW0108
319319 )
320320 if self .line_profiler_done and not self .refinement_done :
321321 return self ._process_candidates (
@@ -330,7 +330,7 @@ def _handle_empty_queue(self) -> CandidateNode | None:
330330 self .future_adaptive_optimizations ,
331331 "Applying adaptive optimizations to {0} candidates" ,
332332 "Added {0} candidates from adaptive optimization, total candidates now: {1}" ,
333- lambda : self .future_adaptive_optimizations .clear (),
333+ lambda : self .future_adaptive_optimizations .clear (), # noqa: PLW0108
334334 )
335335 return None # All done
336336
@@ -2093,7 +2093,7 @@ def process_review(
20932093 formatted_generated_test = format_generated_code (concolic_test_str , self .args .formatter_cmds )
20942094 generated_tests_str += f"```{ code_lang } \n { formatted_generated_test } \n ```\n \n "
20952095
2096- existing_tests , replay_tests , concolic_tests = existing_tests_source_for (
2096+ existing_tests , replay_tests , concolic_tests = existing_tests_source_for ( # noqa: RUF059
20972097 self .function_to_optimize .qualified_name_with_modules_from_root (self .project_root ),
20982098 function_to_all_tests ,
20992099 test_cfg = self .test_cfg ,
0 commit comments