chore: bump ruff (#1085)

This commit is contained in:
Marcelo Trylesinski 2025-07-04 10:01:17 +02:00 • committed by GitHub
commit 9301924f44
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 56 additions and 57 deletions

View file

@ -57,8 +57,7 @@ async def test_send_request_stream_cleanup():
# Verify that no response streams were leaked
assert len(session._response_streams) == initial_stream_count, (
f"Expected {initial_stream_count} response streams after request, "
f"but found {len(session._response_streams)}"
f"Expected {initial_stream_count} response streams after request, but found {len(session._response_streams)}"
)
# Clean up

View file

@ -658,7 +658,7 @@ class TestAuthEndpoints:
assert "error" in error_data
assert error_data["error"] == "invalid_client_metadata"
assert error_data["error_description"] == (
"redirect_uris.0: Input should be a valid URL, " "relative URL without a base"
"redirect_uris.0: Input should be a valid URL, relative URL without a base"
)
@pytest.mark.anyio

View file

@ -696,7 +696,7 @@ def everything_streamable_http_server(
time.sleep(0.1)
attempt += 1
else:
raise RuntimeError(f"Comprehensive StreamableHTTP server failed to start after " f"{max_attempts} attempts")
raise RuntimeError(f"Comprehensive StreamableHTTP server failed to start after {max_attempts} attempts")
yield