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

bump mypy to 1.10 and update type-ignores #3377

Merged
merged 1 commit into from
May 3, 2024
Merged

Conversation

pacrob
Copy link
Contributor

@pacrob pacrob commented May 3, 2024

What was wrong?

Looking at #2849, there are some nice features (specifically Unpack) that were experimental in the mypy=1.5.1 we were using that are good to go in more recent versions.

Bumped mypy in .precommitconfig.yaml to 1.10. Minimal new errors, just some # type: ignores that we get to remove or make more specific.

Todo:

  • Clean up commit history
  • Add or update documentation related to these changes
  • Add entry to the release notes

Cute Animal Picture

image

@pacrob pacrob changed the title bump mypy to 1.10 and clear unused type-ignores bump mypy to 1.10 and update type-ignores May 3, 2024
@pacrob pacrob marked this pull request as ready for review May 3, 2024 19:03
@pacrob pacrob requested review from reedsa, fselmo and kclowes May 3, 2024 19:09
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.

love it, looks good 👍🏼

@pacrob pacrob merged commit ceb0ee7 into ethereum:main May 3, 2024
71 checks passed
@pacrob pacrob deleted the bump-mypy branch May 3, 2024 20:30
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.

2 participants