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

Make ignore_missing_imports work for libs which had bundled stubs #10582

Merged
merged 1 commit into from Jun 4, 2021

Commits on Jun 4, 2021

  1. Make ignore_missing_imports work for libs which had bundled stubs

    It has to be specified as a per-module option, if the library used
    to have bundled stubs. This way mypy won't silently start ignoring
    these missing stubs.
    
    This makes `ignore_missing_imports` special by making it work a bit
    differently, depending on whether it's set globally or per module.
    
    The new behavior is less surprising. This makes it possible to ignore
    arbitrary missing third-party stub packages, even those which used to
    have bundled stubs.
    
    Fixes #10283.
    JukkaL committed Jun 4, 2021
    Copy the full SHA
    96e5c58 View commit details
    Browse the repository at this point in the history