Remove mypy exemption for api/zulip/__init__.py.

This required instead exempting these files:

    bots/jabber_mirror_backend.py
    tools/deprecated/iframe-bot/show-last-messages

Turning on mypy for the API exposes issues in the annotations
of other files.
This commit is contained in:
Steve Howell 2016-12-19 11:50:14 -08:00 committed by Tim Abbott
parent 14ee40bf52
commit 5ad39e3971

View file

@ -117,7 +117,7 @@ def send_zulip(message):
if result["result"] != "success": if result["result"] != "success":
logger.error("Error sending zulip, args were:") logger.error("Error sending zulip, args were:")
logger.error(str(message)) logger.error(str(message))
logger.error(result) logger.error(str(result))
print_status_and_exit(1) print_status_and_exit(1)
# Returns True if and only if we "Detected server failure" sending the zephyr. # Returns True if and only if we "Detected server failure" sending the zephyr.