File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ exclude = """
22
22
zulip/integrations/perforce/git_p4.py
23
23
24
24
zulip_bots/zulip_bots/bots
25
- zulip_bots/zulip_bots/zulip_bot_output.py
26
25
27
26
zulip_botserver/tests/__init__.py
28
27
zulip_botserver/zulip_botserver/server.py
Original file line number Diff line number Diff line change 8
8
import zulip_bots
9
9
10
10
from six .moves import configparser
11
+ from typing import Any
11
12
12
13
from mock import MagicMock , patch
13
14
from zulip_bots .lib import StateHandler
18
19
current_dir = os .path .dirname (os .path .abspath (__file__ ))
19
20
20
21
def parse_args ():
22
+ # type: () -> argparse.Namespace
21
23
description = (
22
24
"A tool to test a bot: given a provided message, provides the bot response.\n \n "
23
25
'Examples: %(prog)s xkcd 1\n '
@@ -75,7 +77,7 @@ def main():
75
77
sys .exit (1 )
76
78
77
79
with patch ('zulip.Client' ) as mock_client :
78
- mock_bot_handler = ExternalBotHandler (mock_client , bot_dir )
80
+ mock_bot_handler = ExternalBotHandler (mock_client , bot_dir ) # type: Any
79
81
mock_bot_handler .send_reply = MagicMock ()
80
82
mock_bot_handler .send_message = MagicMock ()
81
83
mock_bot_handler .update_message = MagicMock ()
You can’t perform that action at this time.
0 commit comments