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 (PEP 484) #10

Merged
merged 1 commit into from Jul 10, 2021
Merged

Add type hints (PEP 484) #10

merged 1 commit into from Jul 10, 2021

Conversation

diceroll123
Copy link
Contributor

This change adds type hints to the library, to allow better compatibility with static type checkers such as PyRight, MyPy, etc. Type hints were added in Python 3.5, but PyIsEven uses f-strings which were added in Python 3.6, so this is not a breaking change.

For more information about type hints: https://www.python.org/dev/peps/pep-0484/

This change adds type hints to the library, to allow better compatibility with static type checkers such as PyRight, MyPy, etc. Type hints were added in Python 3.5, but PyIsEven uses f-strings which were added in Python 3.6, so this is not a breaking change.

For more information about type hints: https://www.python.org/dev/peps/pep-0484/
@rosineygp rosineygp merged commit 1130382 into rosineygp:master Jul 10, 2021
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