mypy: Print out link to documentation in error output.

This should help make details about how mypy works discoverable for
developers who are new to it.
This commit is contained in:
Tim Abbott
2018-12-05 11:23:10 -08:00
parent f694d01a1b
commit f5f320d5fc

View File

@@ -85,4 +85,8 @@ if args.daemon:
else:
rc = subprocess.call([mypy_command] + mypy_args)
if rc != 0:
print("")
print("See https://github.com/zulip/zulip/blob/master/docs/contributing/mypy.md for debugging tips.")
sys.exit(rc)