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]