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 type hints to run_release.py #137

Merged
merged 3 commits into from
Jun 17, 2024
Merged

Add type hints to run_release.py #137

merged 3 commits into from
Jun 17, 2024

Conversation

hugovk
Copy link
Member

@hugovk hugovk commented Jun 17, 2024

For #114.

If temporarily removing run_release.py from the mypy exclude list, this fixes 57% of the errors:

Found 133 errors in 3 files (checked 6 source files)

->

Found 76 errors in 3 files (checked 6 source files)

@@ -926,8 +929,6 @@ def modify_the_release_to_the_prerelease_pages(db: DbfilenameShelf) -> None:


def post_release_merge(db: DbfilenameShelf) -> None:
release_tag: release_mod.Tag = db["release"]
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was a duplicate of line 936 below.

@@ -1,3 +1,5 @@
aiohttp
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we pin versions here?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, updated!

@hugovk hugovk merged commit e6e6314 into python:master Jun 17, 2024
9 checks passed
@hugovk hugovk deleted the add-types branch June 17, 2024 19:56
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.

3 participants