Skip to content

Commit fe33843

Browse files
committed
ruff fix xero
1 parent d632dd5 commit fe33843

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

servers/xero_api/arcade_xero_api/tools/__init__.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,14 @@
99

1010
import asyncio
1111
import json
12-
import jsonschema
1312
from enum import Enum
1413
from typing import Annotated, Any
1514

1615
import httpx
17-
18-
from arcade_tdk import tool, ToolContext
19-
from arcade_tdk.errors import RetryableToolError
16+
import jsonschema
17+
from arcade_tdk import ToolContext, tool
2018
from arcade_tdk.auth import OAuth2
19+
from arcade_tdk.errors import RetryableToolError
2120

2221
from .request_body_schemas import REQUEST_BODY_SCHEMAS
2322

@@ -74,7 +73,7 @@ async def make_request(
7473
continue
7574
# Re-raise for 4xx errors or if max retries reached
7675
raise
77-
except httpx.RequestError as e:
76+
except httpx.RequestError:
7877
# Don't retry request errors (network issues are handled by transport)
7978
raise
8079
else:

0 commit comments

Comments
 (0)