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

Fix strtobool type annotation #6970

Merged
merged 4 commits into from
Jan 20, 2022

Conversation

christianbundy
Copy link
Contributor

@christianbundy christianbundy commented Jan 20, 2022

Problem: strtobool returns either 0 or 1, not bool.

Solution: Fix type annotation.

Link: https://docs.python.org/3/distutils/apiref.html#distutils.util.strtobool

Problem: strtobool returns either 0 or 1, not bool.

Solution: Fix type annotation.
christianbundy and others added 2 commits January 19, 2022 21:47
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

2 similar comments
@github-actions

This comment has been minimized.

@github-actions
Copy link
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@JelleZijlstra JelleZijlstra merged commit 4d085fb into python:master Jan 20, 2022
@christianbundy
Copy link
Contributor Author

Wow, thanks for the quick response — usually committing to a new repo is nowhere near this smooth. I appreciate your time and attention!

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

2 participants