From 417d0f0d80e4995d80db3a216aba880726bf094d Mon Sep 17 00:00:00 2001 From: Charles Cooper Date: Thu, 9 Jan 2025 13:33:37 -0500 Subject: [PATCH] fix lint --- boa/contracts/abi/abi_contract.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/boa/contracts/abi/abi_contract.py b/boa/contracts/abi/abi_contract.py index 7b342b1d..9d49204c 100644 --- a/boa/contracts/abi/abi_contract.py +++ b/boa/contracts/abi/abi_contract.py @@ -294,7 +294,8 @@ def method_id_map(self): def event_for(self): # [{"name": "Bar", "inputs": # [{"name": "x", "type": "uint256", "indexed": false}, - # {"name": "y", "type": "tuple", "components": [{"name": "x", "type": "uint256"}], "indexed": false}], + # {"name": "y", "type": "tuple", "components": + # [{"name": "x", "type": "uint256"}], "indexed": false}], # "anonymous": false, "type": "event"}, # }] ret = {} @@ -550,7 +551,8 @@ def _parse_complex(abi: dict, value: Any, name=None) -> str: components = abi["components"] typname = name or abi["name"] or "user_struct" component_names = [item["name"] for item in components] - typ = namedtuple(typname, component_names, rename=True) + + typ = namedtuple(typname, component_names, rename=True) # type: ignore[misc] def _leaf(tuple_vals): components_parsed = [