mirror of https://github.com/zulip/zulip.git
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:
parent
efc2d1a675
commit
680ff3f80c
|
@ -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.
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue