[ci] auto-format

This commit is contained in:
Loup-Garou911XD 2025-01-23 21:22:46 +00:00 committed by github-actions[bot]
parent 1a58c8676c
commit 05aed2d359
14 changed files with 68 additions and 54 deletions

View file

@ -413,7 +413,7 @@ def get_event_loop(force_fresh=False):
self.rpc.send_data(
1,
{
"nonce": f"{time.time():.20f}",
"nonce": f"{time.time(): .20f}",
"cmd": "SUBSCRIBE",
"evt": event,
"args": args,
@ -970,9 +970,9 @@ class DiscordRP(babase.Plugin):
sec = bs.time() - act._timer.getstarttime()
secfmt = ""
if sec < 60:
secfmt = f"{sec:.2f}"
secfmt = f"{sec: .2f}"
else:
secfmt = f"{int(sec) // 60:02}:{sec:.2f}"
secfmt = f"{int(sec) // 60: 02}: {sec: .2f}"
self.rpc_thread.details += f" ({secfmt})"
# if isinstance(session, ba.DualTeamSession):