From 7b4ef971b7e3923afb283fb94061ea416d242157 Mon Sep 17 00:00:00 2001 From: Dalena Date: Fri, 3 May 2024 15:55:44 -0500 Subject: [PATCH] fix: black --- README.md | 4 ++-- tests/conftest.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 3d54d1c..e4de774 100644 --- a/README.md +++ b/README.md @@ -44,8 +44,8 @@ ape ledger add Ledger accounts have the following capabilities in `ape`: 1. Can sign transactions -2. Can sign messages using the default EIP-191 specification -3. Can sign messages using the EIP-712 specification +1. Can sign messages using the default EIP-191 specification +1. Can sign messages using the EIP-712 specification ### Adjust HD Path diff --git a/tests/conftest.py b/tests/conftest.py index 277d83e..92f4a21 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -80,8 +80,8 @@ def tx_signature(receipt): def mock_device(mocker, hd_path, account_addresses, msg_signature, tx_signature): device = mocker.MagicMock() device._account = hd_path - device.get_address.side_effect = ( - lambda *args, **kwargs: account_addresses[args[0]] if args else account_addresses[0] + device.get_address.side_effect = lambda *args, **kwargs: ( + account_addresses[args[0]] if args else account_addresses[0] ) device.sign_message.side_effect = lambda *args, **kwargs: msg_signature device.sign_typed_data.side_effect = lambda *args, **kwargs: msg_signature