Skip to content

Commit ed51cab

Browse files
committed
mypy: zulip_botserver: Fix errors in zulip_botserver/server.py.
1 parent 81205ea commit ed51cab

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

tools/run-mypy

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,7 @@ sys.path.append(os.path.dirname(TOOLS_DIR))
2020

2121
exclude = """
2222
zulip/integrations/perforce/git_p4.py
23-
2423
zulip_bots/zulip_bots/bots
25-
26-
zulip_botserver/zulip_botserver/server.py
2724
zulip_botserver/setup.py
2825
""".split()
2926

zulip_botserver/zulip_botserver/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def handle_bot(bot):
8484
return json.dumps("")
8585

8686
def parse_args():
87-
# type: () -> Tuple[Any]
87+
# type: () -> argparse.Namespace
8888
usage = '''
8989
zulip-bot-server --config-file <path to flaskbotrc> --hostname <address> --port <port>
9090
Example: zulip-bot-server --config-file ~/flaskbotrc

0 commit comments

Comments
 (0)