Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
KotlinIsland committed Jul 28, 2024
1 parent b73b42f commit 8e657da
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mypy/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,8 @@ def main(
n_errors, n_files, len(sources), blockers=blockers, use_color=options.color_output
)
stdout.write(summary + "\n")
if n_errors >= 100 and not options.write_baseline:
stdout.write("That's a lot of errors, perhaps you would want to write an error baseline (`--write-baseline`)\n")
# Only notes should also output success
elif not messages or n_notes == len(messages):
stdout.write(formatter.format_success(len(sources), options.color_output) + "\n")
Expand Down

0 comments on commit 8e657da

Please sign in to comment.