Skip to content

Commit

Permalink
Set soft error limit default to -1 (unlimited) (#15138)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
rohitsanj committed Apr 26, 2023
1 parent 0c6e18a commit bd2a641
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mypy/defaults.py
Expand Up @@ -44,5 +44,5 @@
]

# Threshold after which we sometimes filter out most errors to avoid very
# verbose output
MANY_ERRORS_THRESHOLD: Final = 200
# verbose output. The default is to show all errors.
MANY_ERRORS_THRESHOLD: Final = -1

0 comments on commit bd2a641

Please sign in to comment.