From e4c3ab33f89275f9d3cceeb6ed4915850bf7c7e0 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Tue, 17 Sep 2019 09:37:18 +0200 Subject: [PATCH] Fix message saying all is good if it isn't --- run_mypy.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/run_mypy.py b/run_mypy.py index c32484a47b..6be424bda8 100644 --- a/run_mypy.py +++ b/run_mypy.py @@ -71,6 +71,8 @@ def main(): if result.returncode != 0: print("\nModule {mod} failed checking. :(".format(**locals())) success_code = 1 + if success_code: + print("\n\nSome modules failed checking!") else: print("\n\nDone checking. All is good.") return success_code