ruff: Reformat with ruff 0.1.4.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
a2ddac75f3
commit
8ebacd0180
2 changed files with 2 additions and 4 deletions
|
@ -3,7 +3,7 @@ twine
|
|||
mock
|
||||
pytest
|
||||
pytest-cov
|
||||
ruff~=0.1.3
|
||||
ruff~=0.1.4
|
||||
-e ./zulip
|
||||
-e ./zulip_bots
|
||||
-e ./zulip_botserver
|
||||
|
|
|
@ -67,9 +67,7 @@ at syntax by: @mention-botname help"
|
|||
return f"Error occured : {r.status_code}" # Occures in case of unprocessable entity
|
||||
else:
|
||||
datapoint_link = f"https://www.beeminder.com/{username}/{goalname}"
|
||||
return (
|
||||
f"[Datapoint]({datapoint_link}) created."
|
||||
) # Handles the case of successful datapoint creation
|
||||
return f"[Datapoint]({datapoint_link}) created." # Handles the case of successful datapoint creation
|
||||
except ConnectionError:
|
||||
logging.exception("Error connecting to Beeminder")
|
||||
return "Uh-Oh, couldn't process the request \
|
||||
|
|
Loading…
Add table
Reference in a new issue