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 support for assert_type #12584

Merged
merged 3 commits into from Apr 15, 2022
Merged

Commits on Apr 14, 2022

  1. Add support for assert_type

    See python/cpython#30843.
    
    The implementation mostly follows that of cast(). It relies on
    `mypy.sametypes.is_same_type()`.
    JelleZijlstra committed Apr 14, 2022
    Copy the full SHA
    22a8e4d View commit details
    Browse the repository at this point in the history
  2. lint

    JelleZijlstra committed Apr 14, 2022
    Copy the full SHA
    25db984 View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2022

  1. fix typo

    JelleZijlstra committed Apr 15, 2022
    Copy the full SHA
    42ee94b View commit details
    Browse the repository at this point in the history