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

Restrict the number of errors shown when there are missing stubs #10579

Merged
merged 4 commits into from Jun 4, 2021

Commits on Jun 4, 2021

  1. Restrict the number of errors shown when there are missing stubs

    When upgrading to mypy 0.900, most projects will see some errors. Projects
    with strict settings could see thousands of errors, since missing stubs
    will generate many additional `Any` types. After 200 errors we will only
    show errors about unresolved imports or missing stubs so that the likely
    root causes won't be hidden in a high volume of errors.
    JukkaL committed Jun 4, 2021
    Copy the full SHA
    3f4caca View commit details
    Browse the repository at this point in the history
  2. Add test case

    JukkaL committed Jun 4, 2021
    Copy the full SHA
    51e75b2 View commit details
    Browse the repository at this point in the history
  3. Make the limit configurable

    JukkaL committed Jun 4, 2021
    Copy the full SHA
    ade5bb9 View commit details
    Browse the repository at this point in the history
  4. Add and update test cases

    JukkaL committed Jun 4, 2021
    Copy the full SHA
    e776672 View commit details
    Browse the repository at this point in the history