From bd2a641635d4dd5fe24939287f5be71152d9cd06 Mon Sep 17 00:00:00 2001 From: Rohit Sanjay Date: Tue, 25 Apr 2023 18:09:19 -0600 Subject: [PATCH] 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. --- mypy/defaults.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mypy/defaults.py b/mypy/defaults.py index 02562b5f0963..d167997464f4 100644 --- a/mypy/defaults.py +++ b/mypy/defaults.py @@ -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