FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Set soft error limit default to -1 (unlimited) by rohitsanj · Pull Request #15138 · python/mypy · GitHub

Repository navigation

Set soft error limit default to -1 (unlimited) - #15138

Merged
hauntsaninja merged 2 commits into
python:masterfrom
rohitsanj:set-many-errors-threshold-to-inf
Apr 26, 2023
Merged

hauntsaninja merged 2 commits into
python:masterfrom
rohitsanj:set-many-errors-threshold-to-inf

Conversation

rohitsanj commented Apr 25, 2023 •
edited
Loading

Copy link
Copy Markdown
Contributor

Fixes #14915

When there are more than 200 errors to report, mypy "softly" trims the output without notifying the user that it did so. We want to currently disable this by setting the --soft-error-limit default to -1 which would list out all the errors.

rohitsanj changed the title Set MANY_ERRORS_THRESHOLD default to -1 (unlimited) Set soft error limit default to -1 (unlimited) Apr 25, 2023

hauntsaninja left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Thanks for fixing!

This comment has been minimized.

Comment thread mypy/defaults.py Outdated
rohitsanj requested a review from ikonst April 25, 2023 23:37

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

hauntsaninja merged commit bd2a641 into python:master Apr 26, 2023
hauntsaninja pushed a commit that referenced this pull request Nov 23, 2023
Default value of `MANY_ERRORS_THRESHOLD` was set to `-1` in
#15138, which is also the default
value of the `--soft-error-limit` CLI option. However the CLI docs were
not updated accordingly.
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Default "--soft-error-limit" behavior causes tons of headache for mypy newbies with large code bases

3 participants


Back | FazBrowse Home | New Git URL