Skip to content

Commit 81205ea

Browse files
committed
mypy: zulip_botserver: Fix errors in tests/__init__.py.
1 parent fd51925 commit 81205ea

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

tools/run-mypy

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ zulip/integrations/perforce/git_p4.py
2323
2424
zulip_bots/zulip_bots/bots
2525
26-
zulip_botserver/tests/__init__.py
2726
zulip_botserver/zulip_botserver/server.py
2827
zulip_botserver/setup.py
2928
""".split()

zulip_botserver/tests/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
import pkgutil
2-
__path__ = pkgutil.extend_path(__path__, __name__)
2+
from typing import Iterable, Text
3+
4+
__path__ = pkgutil.extend_path(__path__, __name__) # type: Iterable[Text]

0 commit comments

Comments
 (0)