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

Upgrade template #16

Merged
merged 99 commits into from Dec 1, 2023
Merged

Upgrade template #16

merged 99 commits into from Dec 1, 2023

Conversation

pacrob
Copy link
Collaborator

@pacrob pacrob commented Nov 29, 2023

What did you do?

Many updates from the project template, notably:

  • move to using pre-commit for linting
  • Drop py37 support
  • Add py311 support
  • Change the name of the master branch to main

Only running CI on rlp-v0 for py38 and py39, as the way it imports sequence from collections is gone as of py310 - https://stackoverflow.com/questions/73491058/importerror-cannot-import-name-sequence-from-collections-usr-lib-python3

To-Do

  • Clean up commit history

Cute Animal Picture

image

carver and others added 30 commits September 1, 2020 11:29
Latest mypy refuses package with file path
It has weird capitalization rules, in particular.
Export type annotations to importing projects
Fix the type annotations export, adding py.typed
Show full explanation for pydocstyle failures
* Add breaking change type to newsfragment

* Move breaking-change -> breaking
Frankly not sure why recursive-exclude doesn't work here, but prune does, and that's good enough for me now. It's also probably preferable to only exclude venv* at the root, anyway.
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.

Looks good to me! I got pre-commit set up and it's awesome! Thanks for doing that 🚀

@pacrob pacrob merged commit ac9ac45 into ethereum:master Dec 1, 2023
30 checks passed
@pacrob pacrob deleted the upgrade-template branch December 1, 2023 20: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.

None yet

7 participants