-
-
Notifications
You must be signed in to change notification settings - Fork 377
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Anders Kaseorg <[email protected]>
- Loading branch information
Showing
15 changed files
with
31 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -110,4 +110,5 @@ src = [ | |
"zulip_bots", | ||
"zulip_botserver", | ||
] | ||
target-version = "py38" | ||
line-length = 100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
crayons | ||
twine | ||
black~=23.10.1 | ||
mock | ||
pytest | ||
pytest-cov | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -301,9 +301,7 @@ def config_error(msg: str) -> None: | |
zulip configuration file under the jabber_mirror section (exceptions are noted | ||
in their help sections). Keys have the same name as options with hyphens | ||
replaced with underscores. Zulip configuration options go in the api section, | ||
as normal.""".replace( | ||
"\n", " " | ||
) | ||
as normal.""".replace("\n", " ") | ||
) | ||
parser.add_option( | ||
"--mode", | ||
|
@@ -314,9 +312,7 @@ def config_error(msg: str) -> None: | |
all messages they send on Zulip to Jabber and all private Jabber messages to | ||
Zulip. In "public" mode, the mirror uses the credentials for a dedicated mirror | ||
user and mirrors messages sent to Jabber rooms to Zulip. Defaults to | ||
"personal"'''.replace( | ||
"\n", " " | ||
), | ||
"personal"'''.replace("\n", " "), | ||
) | ||
parser.add_option( | ||
"--zulip-email-suffix", | ||
|
@@ -327,9 +323,7 @@ def config_error(msg: str) -> None: | |
suffix before sending requests to the Jabber server. For example, specifying | ||
"+foo" will cause messages that are sent to the "bar" room by nickname "qux" to | ||
be mirrored to the "bar/xmpp" stream in Zulip by user "[email protected]". This | ||
option does not affect login credentials.""".replace( | ||
"\n", " " | ||
), | ||
option does not affect login credentials.""".replace("\n", " "), | ||
) | ||
parser.add_option( | ||
"-d", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters