PIG208
6f3f9bf7e4
black: Reformat without skipping string normalization.
2021-06-02 18:45:57 -07:00
PIG208
fba21bb00d
black: Reformat skipping string normalization.
2021-06-02 18:45:57 -07:00
PIG208
5580c68ae5
isort: Reformat using isort.
2021-06-02 18:45:57 -07:00
Unam LN
984d9151d5
bots: Fix RSS bot for Python 3.x support.
...
- Call `super()` in the init method.
- Change return hashlib.md5 syntax to encode properly for Python 3
Signed-off-by: Manu LN <manu+github@lacavernedemanu.fr>
2020-12-22 16:34:32 -08:00
Anders Kaseorg
5f81eb3a70
Update zulipchat.com links to zulip.com.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-06-11 21:06:58 -07:00
Anders Kaseorg
5428c5f296
typing: Convert function type annotations to Python 3 style.
...
Generated by com2ann (slightly patched to avoid also converting
assignment type annotations, which require Python 3.6), followed by
some manual whitespace adjustment, and two fixes for use-before-define
issues:
- def set_zulip_client(self, zulipToJabberClient: ZulipToJabberBot) -> None:
+ def set_zulip_client(self, zulipToJabberClient: 'ZulipToJabberBot') -> None:
-def init_from_options(options: Any, client: Optional[str] = None) -> Client:
+def init_from_options(options: Any, client: Optional[str] = None) -> 'Client':
Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
2020-04-18 20:31:14 -07:00
Anders Kaseorg
e30b3b094b
Modernize legacy Python 2 syntax with pyupgrade.
...
Generated by `pyupgrade --py3-plus --keep-percent-format` followed by
manual indentation fixes.
Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
2020-04-18 15:04:36 -07:00
rht
439c096eac
Remove all remaining six imports.
2020-04-03 08:18:08 -04:00
rht
46c78ce7b5
integrations: Remove usage of six.
2020-04-02 13:02:28 -04:00
rht
1412403037
integrations: Remove from __future__ imports.
2020-04-02 13:02:28 -04:00
rht
a465467388
integrations: Switch to python3.
2020-04-02 13:02:28 -04:00
rht
8a74f576a3
python: Remove per-file copyright notices.
...
These notices are redundant and obscure what are often very short
example scripts.
2020-03-23 12:52:52 -07:00
Kreyren
3e155ecf93
rss-bot: Updated link pointing to .zuliprc
...
I believe that rss-bot is pointing to wrong page on documentation, this MR should fix it.
Signed-off-by: Jacob Hrbek <werifgx@gmail.com>
2019-09-08 16:51:54 -07:00
Eeshan Garg
f2eaf80b9e
integrations/rss: Pass config_file to zulip.Client.
...
Fixes #499 .
2019-01-22 22:16:20 -03:30
Eeshan Garg
09060afcab
integrations/rss: Upgrade to argparse.
2017-08-03 12:34:26 -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