mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
ruff: Partially reformat Python with Ruff 0.9 (2025 style).
These are the changes that are backwards compatible with the 2024 style. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
99ea0255da
commit
653b0b0436
@@ -35,7 +35,7 @@ def api_splunk_webhook(
|
||||
|
||||
# for the default topic, use search name but truncate if too long
|
||||
if len(search_name) >= MAX_TOPIC_NAME_LENGTH:
|
||||
topic_name = f"{search_name[:(MAX_TOPIC_NAME_LENGTH - 3)]}..."
|
||||
topic_name = f"{search_name[: (MAX_TOPIC_NAME_LENGTH - 3)]}..."
|
||||
else:
|
||||
topic_name = search_name
|
||||
|
||||
|
||||
Reference in New Issue
Block a user