mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 15:03:34 +00:00
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:
@@ -85,4 +85,8 @@ if args.daemon:
|
|||||||
else:
|
else:
|
||||||
rc = subprocess.call([mypy_command] + mypy_args)
|
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)
|
sys.exit(rc)
|
||||||
|
|||||||
Reference in New Issue
Block a user