mypy: Assert Zulip.[api_key|email] are not None, satisfying use in Zephyr.
MODIFY
zulip/zulip/__init__.py
zulip/zulip/__init__.py
@@ -337,6 +337,7 @@ class Client(object):
raise RuntimeError("api_key or email not specified and file %s does not exist"
% (config_file,))
+ assert(api_key is not None and email is not None)
self.api_key = api_key
self.email = email
self.verbose = verbose

mypy: Assert Zulip.[api_key|email] are not None, satisfying use in Zephyr.