Fix python linter errors

This commit is contained in:
pinpox
2025-10-20 15:47:51 +02:00
parent 0ea561f998
commit ae5712229c
7 changed files with 27 additions and 15 deletions

View File

@@ -790,7 +790,7 @@ class TestGetLlmFinalDecision:
):
mock_agg.return_value = MagicMock(tools=[mock_schema])
function_call_results, message = get_llm_final_decision(
function_call_results, _message = get_llm_final_decision(
user_request="okay then gchq-local as controller and qube-email as moon please everything else as peer",
flake=mock_flake,
selected_service="zerotier",

View File

@@ -216,7 +216,7 @@ class TestLogFileCreation:
configured_log_manager: LogManager,
) -> None:
"""Test that creating log file with unregistered group fails."""
with pytest.raises(ValueError, match="Group structure.*is not valid"):
with pytest.raises(ValueError, match=r"Group structure.*is not valid"):
configured_log_manager.create_log_file(
example_function,
"test_op",
@@ -228,7 +228,7 @@ class TestLogFileCreation:
configured_log_manager: LogManager,
) -> None:
"""Test that invalid nested structure fails."""
with pytest.raises(ValueError, match="Group structure.*is not valid"):
with pytest.raises(ValueError, match=r"Group structure.*is not valid"):
configured_log_manager.create_log_file(
example_function,
"test_op",