diff --git a/src/takopi/engines.py b/src/takopi/engines.py index 1e1a775..445610c 100644 --- a/src/takopi/engines.py +++ b/src/takopi/engines.py @@ -38,9 +38,7 @@ def _codex_check_setup(_config: EngineConfig, _config_path: Path) -> list[SetupI return [] -def _codex_build_runner( - config: EngineConfig, config_path: Path -) -> Runner: +def _codex_build_runner(config: EngineConfig, config_path: Path) -> Runner: codex_cmd = shutil.which("codex") if not codex_cmd: raise ConfigError( diff --git a/tests/test_codex_tool_result_summary.py b/tests/test_codex_tool_result_summary.py index b93e194..cdc9fb1 100644 --- a/tests/test_codex_tool_result_summary.py +++ b/tests/test_codex_tool_result_summary.py @@ -66,4 +66,3 @@ def test_translate_mcp_tool_call_summarizes_legacy_structured_key() -> None: assert len(out) == 1 assert isinstance(out[0], ActionEvent) assert out[0].action.detail["result_summary"]["has_structured"] is True - diff --git a/tests/test_exec_render.py b/tests/test_exec_render.py index 30161d4..00458bb 100644 --- a/tests/test_exec_render.py +++ b/tests/test_exec_render.py @@ -81,7 +81,8 @@ def test_render_event_cli_handles_action_kinds() -> None: ) assert any("tool: github.search_issues" in line for line in out) assert any( - "files: added `README.md`, updated `src/compute_answer.py`" in line for line in out + "files: added `README.md`, updated `src/compute_answer.py`" in line + for line in out ) assert any(line.startswith("✗ stream error") for line in out) @@ -103,7 +104,9 @@ def test_file_change_renders_relative_paths_inside_cwd() -> None: }, ) ) - assert any("files: updated `README.md`, updated `README.md`" in line for line in out) + assert any( + "files: updated `README.md`, updated `README.md`" in line for line in out + ) def test_progress_renderer_renders_progress_and_final() -> None: