zulip_bots: Make typing import work in Python 3.5.

See https://github.com/python/mypy/issues/1838.
This commit is contained in:
Robert Hönig 2017-12-06 12:44:42 +01:00
parent 29e22c2c0a
commit 1102057e35

View file

@ -9,7 +9,9 @@ import os
from types import ModuleType from types import ModuleType
from importlib import import_module from importlib import import_module
from os.path import basename, splitext from os.path import basename, splitext
from typing import Any, Optional, Text
if False:
from typing import Any, Optional, Text
from zulip_bots.lib import ( from zulip_bots.lib import (
run_message_handler_for_bot, run_message_handler_for_bot,