zulip_bots: Make typing import work in Python 3.5.
See https://github.com/python/mypy/issues/1838.
This commit is contained in:
parent
29e22c2c0a
commit
1102057e35
|
@ -9,6 +9,8 @@ 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
|
||||||
|
|
||||||
|
if False:
|
||||||
from typing import Any, Optional, Text
|
from typing import Any, Optional, Text
|
||||||
|
|
||||||
from zulip_bots.lib import (
|
from zulip_bots.lib import (
|
||||||
|
|
Loading…
Reference in a new issue