mypy: zulip_botserver: Fix errors in zulip_botserver/server.py.

This commit is contained in:
Alena Volkova 2017-10-11 00:13:28 -04:00
parent 81205ea813
commit ed51cabf1b
2 changed files with 1 additions and 4 deletions

View file

@ -20,10 +20,7 @@ sys.path.append(os.path.dirname(TOOLS_DIR))
exclude = """ exclude = """
zulip/integrations/perforce/git_p4.py zulip/integrations/perforce/git_p4.py
zulip_bots/zulip_bots/bots zulip_bots/zulip_bots/bots
zulip_botserver/zulip_botserver/server.py
zulip_botserver/setup.py zulip_botserver/setup.py
""".split() """.split()

View file

@ -84,7 +84,7 @@ def handle_bot(bot):
return json.dumps("") return json.dumps("")
def parse_args(): def parse_args():
# type: () -> Tuple[Any] # type: () -> argparse.Namespace
usage = ''' usage = '''
zulip-bot-server --config-file <path to flaskbotrc> --hostname <address> --port <port> zulip-bot-server --config-file <path to flaskbotrc> --hostname <address> --port <port>
Example: zulip-bot-server --config-file ~/flaskbotrc Example: zulip-bot-server --config-file ~/flaskbotrc