8000 Set soft error limit default to -1 (unlimited) (#15138) · python/mypy@bd2a641 · GitHub
[go: up one dir, main page]

Skip to content

Commit bd2a641

Browse files
authored
Set soft error limit default to -1 (unlimited) (#15138)
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.
1 parent 0c6e18a commit bd2a641

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mypy/defaults.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,5 @@
4444
]
4545

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

0 commit comments

Comments
 (0)
0