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

[Backport maintenance/3.3.x] change the type annotation error heuristic #2586

Merged

Commits on Sep 26, 2024

  1. change the type annotation error heuristic (#2583)

    The previous one depended on the message from "typed_ast", which is
       not used anymore.
    
    Instead, we check if there is a "# type:" substring in the source line
       of the exception. This can yield some false positives, but probably
       rarely.
    
    (cherry picked from commit 62c5bad)
    temyurchenko authored and github-actions[bot] committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    7d98c4e View commit details
    Browse the repository at this point in the history