Commit 535c640
fix: resolve all linting issues from ruff and mypy
Fixed ruff issues:
- PLW0108: Removed unnecessary lambda wrappers, inline method references
- Changed lambda: self.future_all_code_repair.clear() to self.future_all_code_repair.clear
- Changed lambda: self.future_adaptive_optimizations.clear() to self.future_adaptive_optimizations.clear
- PTH123: Replaced open() with Path.open() for debug file
- S108: Use get_run_tmp_file() instead of hardcoded /tmp path for security
- RUF059: Prefix unused concolic_tests variable with underscore
Fixed mypy issues in PrComment.py:
- Renamed loop variable from 'result' to 'test_result' to avoid redefinition
- Removed str() conversion for async throughput values (already int type)
- Type annotations now match actual value types
All files formatted with ruff format.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent bab3bd4 commit 535c640
2 files changed
Lines changed: 13 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
| 48 | + | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
311 | 311 | | |
312 | 312 | | |
313 | 313 | | |
314 | | - | |
| 314 | + | |
315 | 315 | | |
316 | 316 | | |
317 | 317 | | |
318 | | - | |
| 318 | + | |
319 | 319 | | |
320 | | - | |
321 | | - | |
322 | 320 | | |
323 | 321 | | |
324 | 322 | | |
| |||
328 | 326 | | |
329 | 327 | | |
330 | 328 | | |
331 | | - | |
| 329 | + | |
332 | 330 | | |
333 | 331 | | |
334 | 332 | | |
335 | | - | |
| 333 | + | |
336 | 334 | | |
337 | | - | |
338 | | - | |
339 | 335 | | |
340 | 336 | | |
341 | 337 | | |
| |||
600 | 596 | | |
601 | 597 | | |
602 | 598 | | |
603 | | - | |
604 | | - | |
605 | | - | |
606 | | - | |
607 | | - | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
608 | 603 | | |
609 | 604 | | |
610 | 605 | | |
| |||
2104 | 2099 | | |
2105 | 2100 | | |
2106 | 2101 | | |
2107 | | - | |
| 2102 | + | |
2108 | 2103 | | |
2109 | 2104 | | |
2110 | 2105 | | |
| |||
0 commit comments