diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 478d6a5..e037d3c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: - id: debug-statements - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.15.0 + rev: v0.15.7 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] diff --git a/tests/test_transport.py b/tests/test_transport.py index 44e5cb0..562115b 100644 --- a/tests/test_transport.py +++ b/tests/test_transport.py @@ -289,7 +289,9 @@ async def test_async_transport_passes_through_non_402_response() -> None: inner = _PassthroughAsyncTransport() transport = AsyncX402Transport(_FakeX402ClientAsync(), inner=inner) - response = await transport.handle_async_request(httpx.Request("GET", "https://example.com/v1/models")) + response = await transport.handle_async_request( + httpx.Request("GET", "https://example.com/v1/models") + ) assert response.status_code == 200 assert inner.calls == 1