Restrict the number of errors shown when there are missing stubs by JukkaL · Pull Request #10579 · python/mypy
added 2 commits
June 4, 2021 14:01When 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
deleted the
limit-stub-errors
branch
JukkaL added a commit that referenced this pull request
Jun 7, 2021) When upgrading to mypy 0.900, most projects will see some errors about missing stubs. Projects with strict settings could see thousands of errors, since missing stubs will generate many additional Any types. After 200 errors (only if some of them are about imports) we will now only show errors about unresolved imports or missing stubs, so that the likely root causes won't be obscured in a high volume of errors. Fixes #10529.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters