Skip to content
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

Merged
merged 1 commit into from
Apr 10, 2024
Merged

Add pre commit v6 #3296

merged 1 commit into from
Apr 10, 2024

Conversation

pacrob
Copy link
Contributor

@pacrob pacrob commented Mar 19, 2024

What was wrong?

Add pre-commit, move related config to pyproject.toml, run lint

How was it fixed?

Todo:

Cute Animal Picture

image

@pacrob pacrob marked this pull request as ready for review March 20, 2024 16:58
Copy link
Collaborator

@fselmo fselmo left a 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 👍🏼

Copy link
Collaborator

@kclowes kclowes left a 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

@@ -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
Copy link
Collaborator

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: ignoreing here

@pacrob pacrob merged commit d4ce44a into ethereum:v6 Apr 10, 2024
99 checks passed
@pacrob pacrob deleted the add-pre-commit-v6 branch April 10, 2024 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants