Skip to content

Commit 1ce693b

Browse files
neilcampbelldaniel-makerx
authored andcommitted
chore: fix audit issues
1 parent 81e9edf commit 1ce693b

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

poetry.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/applications/test_app_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ def test_construct_transaction_with_boxes(test_app_client: AppClient) -> None:
358358
)
359359

360360
assert isinstance(call.transactions[0], algosdk.transaction.ApplicationCallTxn)
361-
assert call.transactions[0].boxes == [BoxReference(app_id=0, name=b"1")]
361+
assert call.transactions[0].boxes == [BoxReference(app_id=0, name=b"1")] # type: ignore # noqa: PGH003
362362

363363
# Test with string box reference
364364
call2 = test_app_client.create_transaction.call(
@@ -370,7 +370,7 @@ def test_construct_transaction_with_boxes(test_app_client: AppClient) -> None:
370370
)
371371

372372
assert isinstance(call2.transactions[0], algosdk.transaction.ApplicationCallTxn)
373-
assert call2.transactions[0].boxes == [BoxReference(app_id=0, name=b"1")]
373+
assert call2.transactions[0].boxes == [BoxReference(app_id=0, name=b"1")] # type: ignore # noqa: PGH003
374374

375375

376376
def test_construct_transaction_with_abi_encoding_including_transaction(

tests/transactions/test_resource_packing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,4 +427,4 @@ def test_create_box_in_new_app(self, algorand: AlgorandClient, funded_account: S
427427

428428
box_ref = result.transaction.application_call.boxes[0] if result.transaction.application_call.boxes else None
429429
assert box_ref is not None
430-
assert box_ref.app_index == 0 # type: ignore
430+
assert box_ref.app_index == 0 # type: ignore # noqa: PGH003

0 commit comments

Comments
 (0)