Skip to content

Commit 8ebacd0

Browse files
committed
ruff: Reformat with ruff 0.1.4.
Signed-off-by: Anders Kaseorg <[email protected]>
1 parent a2ddac7 commit 8ebacd0

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ twine
33
mock
44
pytest
55
pytest-cov
6-
ruff~=0.1.3
6+
ruff~=0.1.4
77
-e ./zulip
88
-e ./zulip_bots
99
-e ./zulip_botserver

zulip_bots/zulip_bots/bots/beeminder/beeminder.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,7 @@ def get_beeminder_response(message_content: str, config_info: Dict[str, str]) ->
6767
return f"Error occured : {r.status_code}" # Occures in case of unprocessable entity
6868
else:
6969
datapoint_link = f"https://www.beeminder.com/{username}/{goalname}"
70-
return (
71-
f"[Datapoint]({datapoint_link}) created."
72-
) # Handles the case of successful datapoint creation
70+
return f"[Datapoint]({datapoint_link}) created." # Handles the case of successful datapoint creation
7371
except ConnectionError:
7472
logging.exception("Error connecting to Beeminder")
7573
return "Uh-Oh, couldn't process the request \

0 commit comments

Comments
 (0)