diff --git a/tools/run-mypy b/tools/run-mypy index 4c02e67..45a5ce2 100755 --- a/tools/run-mypy +++ b/tools/run-mypy @@ -23,7 +23,6 @@ zulip/integrations/perforce/git_p4.py zulip_bots/zulip_bots/bots -zulip_botserver/tests/__init__.py zulip_botserver/zulip_botserver/server.py zulip_botserver/setup.py """.split() diff --git a/zulip_botserver/tests/__init__.py b/zulip_botserver/tests/__init__.py index bb61062..9c5ca6a 100644 --- a/zulip_botserver/tests/__init__.py +++ b/zulip_botserver/tests/__init__.py @@ -1,2 +1,4 @@ import pkgutil -__path__ = pkgutil.extend_path(__path__, __name__) +from typing import Iterable, Text + +__path__ = pkgutil.extend_path(__path__, __name__) # type: Iterable[Text]