Skip to content

Commit 592a625

Browse files
committed
Address linting issue
1 parent cda1ded commit 592a625

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

web3/main.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,9 @@ def is_encodable(self, _type: TypeStr, value: Any) -> bool:
347347
@property
348348
def ens(self) -> Union[ENS, AsyncENS, "Empty"]:
349349
if self._ens is empty:
350-
return AsyncENS.from_web3(self) if self.eth.is_async else ENS.from_web3(self)
350+
return (
351+
AsyncENS.from_web3(self) if self.eth.is_async else ENS.from_web3(self)
352+
) # noqa: E501
351353

352354
return self._ens
353355

0 commit comments

Comments
 (0)