From 81205ea813c990dc03c19716c9d1718d5d8c97a6 Mon Sep 17 00:00:00 2001 From: Alena Volkova Date: Thu, 12 Oct 2017 00:34:31 -0400 Subject: [PATCH] mypy: zulip_botserver: Fix errors in tests/__init__.py. --- tools/run-mypy | 1 - zulip_botserver/tests/__init__.py | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) 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]