Skip to content

Commit 4c86717

Browse files
committed
style: apply Ruff formatting
1 parent 8ff5c5a commit 4c86717

2 files changed

Lines changed: 3 additions & 9 deletions

File tree

src/ha_mcp/tools/tools_addons.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -332,9 +332,7 @@ def _normalize_supervisor_rest_response(
332332
error_message = (
333333
body or f"Supervisor returned invalid JSON (HTTP {response.status_code})"
334334
)
335-
return _supervisor_invalid_response(
336-
response, error_message, endpoint, method
337-
)
335+
return _supervisor_invalid_response(response, error_message, endpoint, method)
338336

339337
if not isinstance(payload, dict):
340338
return _supervisor_invalid_response(

tests/src/unit/test_haos_image_workflow_shape.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -293,12 +293,8 @@ def test_beta_lanes_share_a_current_supervisor_and_core_image() -> None:
293293
assert run_env["PYTEST_ARGS"] == "${{ github.event.inputs.pytest_args }}"
294294
assert "$PYTEST_PATHS" in run_step["run"]
295295
assert "$PYTEST_ARGS" in run_step["run"]
296-
assert (
297-
"${{ github.event.inputs.pytest_paths" not in run_step["run"]
298-
)
299-
assert (
300-
"${{ github.event.inputs.pytest_args" not in run_step["run"]
301-
)
296+
assert "${{ github.event.inputs.pytest_paths" not in run_step["run"]
297+
assert "${{ github.event.inputs.pytest_args" not in run_step["run"]
302298
assert "src/e2e/" in run_env["PYTEST_PATHS"]
303299
assert (
304300
workflow[True]["workflow_dispatch"]["inputs"]["pytest_paths"]["default"]

0 commit comments

Comments
 (0)