neiljp (Neil Pilgrim)
aa718da3e1
Zephyr: For correctness & mypy, res.get('result') -> res['result'].
...
Also correct nearby error message (subscribing to -> receiving).
2018-01-08 15:39:03 -05:00
neiljp (Neil Pilgrim)
02d9ba8edd
mypy: Add cast for zephyr_mirror_backend logger variable.
2018-01-08 15:39:03 -05:00
neiljp (Neil Pilgrim)
466f5a7167
mypy: Amend zephyr mirror annotations for strict-optional.
2018-01-08 15:39:03 -05:00
neiljp (Neil Pilgrim)
33ccc04a32
mypy: Amend code & typing of integrations, to pass with strict-optional.
2018-01-02 14:05:33 -05:00
neiljp (Neil Pilgrim)
28687f18ca
mypy: Add --disallow-any=generics & extend typing accordingly.
...
Also reset typing of ExternalBotHandler to Any after discussion.
2017-12-11 20:14:00 -06:00
Alena Volkova
671a078137
mypy: zulip: Fix errors in integrations/zephyr/process_ccache.
2017-10-27 00:56:06 -04:00
Tim Abbott
dc2132e629
zephyr_mirror: Eliminate --root-path arguments.
...
These were quite messy code, and now that almost nobody is running
their own zephyr mirroring script (vs. using webathena), making the
zephyr mirroring script deployable outside the package isn't super
valuable.
2017-10-05 13:24:59 -07:00
Tim Abbott
963e6d0ad8
zephyr_mirror: Always run backend script from current directory.
...
While this technically removes functionality, it's rare that it would
be useful to do this.
2017-10-05 13:17:10 -07:00
Tim Abbott
96f2100974
zephyr: Remove root-path import nonsense from check-mirroring.
...
We no longer need this in order to access the script's dependencies,
since it now is part of a proper package.
2017-10-05 13:02:58 -07:00
Tim Abbott
bc4e54a35d
zephyr_mirror: Restart self using __file__, not root-path.
...
This should do the same thing, but with less complexity.
2017-10-05 12:46:01 -07:00
Tim Abbott
7e5a320343
zephyr_mirror: Move stamp_path to not be based on root_path.
2017-10-05 12:37:49 -07:00
Tim Abbott
6395dc1a45
zephyr_mirror: Update process_cache for repository move.
...
This also has the side effect of stopping using the --root-path
argument, which should no longer be required.
2017-10-05 12:21:11 -07:00
Tim Abbott
807afd2032
zephyr: Use add_default_arguments in sync_public_streams.
2017-09-29 16:21:18 -07:00
derAnfaenger
631c64ca6c
zulip: Move from simplejson to json.
...
This removes the simplejson dependency.
2017-09-14 02:26:56 -07:00
derAnfaenger
50d8c5f7fe
zulip package: Add requirements.txt for each integration.
2017-09-12 01:39:21 -07:00
Eeshan Garg
3d0f7955b6
api: Move the API package to a dedicated subdirectory.
...
In order to keep all three packages (zulip, zulip_bots,
zulip_botserver) in the same repo, all package files must now
be nested one level deeper.
For instance, python-zulip-api/zulip_bots/zulip_bots/bots/, instead
of python-zulip-api/zulip_bots/bots/.
2017-07-18 02:20:32 -02:30