Create terminal.py to run bots in the terminal.

This program replaces zulip_bot_output.py, which had
gotten a little out of date.

It should be able to simulate a terminal conversation for
all of our bots, including those that use "advanced" features:

    third party config files: tested with giphy
    message updates: tested with incrementor
    storage: tested with virtual_fs and others
This commit is contained in:
Steve Howell 2017-11-28 08:44:39 -08:00 committed by showell
parent 536ba1843a
commit 80e4ef9f72
6 changed files with 159 additions and 111 deletions

View file

@ -25,6 +25,9 @@ exclude = [
# fully annotate their bots.
"zulip_bots/zulip_bots/bots",
"zulip_bots/zulip_bots/bots_unmaintained",
# Excluded out of laziness:
"zulip_bots/zulip_bots/terminal.py",
"zulip_bots/zulip_bots/simple_lib.py",
]
parser = argparse.ArgumentParser(description="Run mypy on files tracked by git.")