Skip to content

Commit

Permalink
Address linting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
linda-le1 committed Nov 1, 2022
1 parent cda1ded commit 592a625
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion web3/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,9 @@ def is_encodable(self, _type: TypeStr, value: Any) -> bool:
@property
def ens(self) -> Union[ENS, AsyncENS, "Empty"]:
if self._ens is empty:
return AsyncENS.from_web3(self) if self.eth.is_async else ENS.from_web3(self)
return (
AsyncENS.from_web3(self) if self.eth.is_async else ENS.from_web3(self)
) # noqa: E501

return self._ens

Expand Down

0 comments on commit 592a625

Please sign in to comment.