mirror of
https://github.com/codeflash-ai/codeflash-agent.git
synced 2026-05-04 18:25:19 +00:00
* fix: resolve all ruff lint errors across repo Auto-fixed 31 errors (unused imports, formatting, simplifications). Manually fixed 14 remaining: - EXE001: removed shebangs from non-executable bench scripts - C417: replaced map(lambda) with generator expression - C901/PLR0915: extracted _write_and_instrument_tests from generate_ai_tests - C901/PLR0912: extracted _parse_toml_addopts and _ini_section_name from modify_addopts - RUF001/RUF002: replaced ambiguous Unicode chars (en dash, multiplication sign) - FBT002: made boolean params keyword-only in report functions - E402: moved `import re` to top of file in security reports * fix: resolve pre-existing mypy errors across packages - _testgen.py: annotate `generated` as `str` to avoid no-any-return - _test_runner.py: use str() for TimeoutExpired stdout/stderr (bytes|str), remove unused type: ignore on proc.kill() - _candidate_eval.py: annotate `speedup` as `float` to avoid no-any-return from lazy-loaded performance_gain |
||
|---|---|---|
| .. | ||
| conftest.py | ||
| test_app.py | ||
| test_auth_deps.py | ||
| test_config.py | ||
| test_db.py | ||
| test_db_integration.py | ||
| test_diff.py | ||
| test_integration.py | ||
| test_jit.py | ||
| test_keys.py | ||
| test_language_python.py | ||
| test_llm.py | ||
| test_logging.py | ||
| test_models.py | ||
| test_optimize.py | ||
| test_ranking.py | ||
| test_refinement.py | ||
| test_repair.py | ||
| test_review.py | ||
| test_testgen.py | ||
| test_testgen_review.py | ||
| test_workflow.py | ||