Skip to content

Commit 874f01d

Browse files
committed
chore: fix ruff
1 parent f77f08f commit 874f01d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/algokit_subscriber/subscriber.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@ def __init__(
4747
)
4848

4949
def default_error_handler(
50-
self, error: Any, _str: str | None = None # noqa: ANN401
50+
self,
51+
error: Any, # noqa: ANN401
52+
_str: str | None = None,
5153
) -> None:
5254
raise error
5355

src/algokit_subscriber/transform.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,7 @@ def get_parent_offset() -> int:
154154
)
155155

156156
if (
157-
block_transaction.get("dt") is None
158-
or block_transaction["dt"].get("itx") is None # type: ignore[union-attr]
157+
block_transaction.get("dt") is None or block_transaction["dt"].get("itx") is None # type: ignore[union-attr]
159158
):
160159
continue
161160

0 commit comments

Comments
 (0)