-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add pre commit v6 #3296
Add pre commit v6 #3296
Conversation
f85cd73
to
b51ae27
Compare
ad4c77d
to
551b683
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will be great to have in. lgtm 👍🏼
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 🚢 Just left one nit
web3/eth/async_eth.py
Outdated
@@ -740,12 +740,14 @@ async def unsubscribe(self, subscription_id: HexStr) -> bool: | |||
# -- contract methods -- # | |||
|
|||
@overload | |||
def contract(self, address: None = None, **kwargs: Any) -> Type[AsyncContract]: ... | |||
def contract(self, address: None = None, **kwargs: Any) -> Type[AsyncContract]: # type: ignore # noqa: E501 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: might be worth a comment on why we're type: ignore
ing here
…config to pyproject.toml
551b683
to
69e0bbb
Compare
What was wrong?
Add
pre-commit
, move related config to pyproject.toml, run lintHow was it fixed?
Todo:
Cute Animal Picture