Skip to content

Update path.py: return annotation bool not int #29

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

Merged
merged 1 commit into from
May 9, 2025

Conversation

wyattscarpenter
Copy link
Contributor

Investigating python/mypy#17487, I decided to check out an exemplar mypy_primer to see what all the fuss is about. Since it's so easy to fix this, and so obviously correct, I thought I'd do a PR about it while I'm here. The functions return bool and so should be annotated accordingly, not with int.

Investigating python/mypy#17487, I decided to check out an exemplar mypy_primer to see what all the fuss is about. Since it's so easy to fix this, and so obviously correct, I thought I'd do a PR about it while I'm here. The functions return bool and so should be annotated accordingly, not with int.
Copy link
Owner

@hauntsaninja hauntsaninja left a comment

Choose a reason for hiding this comment

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

Thank you!

@hauntsaninja hauntsaninja merged commit 759a319 into hauntsaninja:master May 9, 2025
0 of 2 checks passed
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