From 99785a1be48a833621cdff81b065295eaae8eff8 Mon Sep 17 00:00:00 2001 From: Alena Volkova Date: Thu, 12 Oct 2017 00:33:12 -0400 Subject: [PATCH] mypy: zulip: Fix errors in tests/__init__.py. --- tools/run-mypy | 1 - zulip/tests/__init__.py | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/run-mypy b/tools/run-mypy index 48a1ada..eb60563 100755 --- a/tools/run-mypy +++ b/tools/run-mypy @@ -20,7 +20,6 @@ sys.path.append(os.path.dirname(TOOLS_DIR)) exclude = """ zulip/integrations/perforce/git_p4.py -zulip/tests/__init__.py zulip/tests/test_default_arguments.py zulip_bots/zulip_bots/bots diff --git a/zulip/tests/__init__.py b/zulip/tests/__init__.py index bb61062..9c5ca6a 100644 --- a/zulip/tests/__init__.py +++ b/zulip/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]