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

Commits on Jul 10, 2021

  1. Add type hints (PEP 484)

    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/
    diceroll123 committed Jul 10, 2021
    Configuration menu
    Copy the full SHA
    378e5b5 View commit details
    Browse the repository at this point in the history