Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
4 changes: 3 additions & 1 deletion tests/test_transport.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down