Skip to content

Commit 61942e6

Browse files
committed
chore: fix lint errs
1 parent a47dd82 commit 61942e6

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

web3/method.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,7 @@ def __init__(
123123
self,
124124
json_rpc_method: Optional[RPCEndpoint] = None,
125125
mungers: Optional[Sequence[Munger]] = None,
126-
request_formatters: Optional[
127-
Callable[[RPCEndpoint], Formatter[Any]]
128-
] = None,
126+
request_formatters: Optional[Callable[[RPCEndpoint], Formatter[Any]]] = None,
129127
result_formatters: Optional[
130128
Callable[[RPCEndpoint, "Module"], ResponseFormatter[TReturn]]
131129
] = None,
@@ -165,7 +163,7 @@ def __get__(
165163
f"Method `{self.json_rpc_method}` is not supported within a batch "
166164
"request."
167165
)
168-
return module.retrieve_request_information(self)
166+
return module.retrieve_request_information(self) # type: ignore [return-value]
169167
else:
170168
return module.retrieve_caller_fn(self)
171169

0 commit comments

Comments
 (0)