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 efc2d1a675
commit 680ff3f80c
2 changed files with 3 additions and 2 deletions

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.

View File

@ -36,7 +36,8 @@ api/integrations/rss/rss-bot
api/integrations/svn/post-commit api/integrations/svn/post-commit
api/integrations/twitter/twitter-bot api/integrations/twitter/twitter-bot
api/integrations/twitter/twitter-search-bot api/integrations/twitter/twitter-search-bot
api/zulip/__init__.py bots/jabber_mirror_backend.py
tools/deprecated/iframe-bot/show-last-messages
tools/deprecated/inject-messages/inject-messages tools/deprecated/inject-messages/inject-messages
zproject/settings.py zproject/settings.py
zproject/test_settings.py zproject/test_settings.py