Skip to content

Commit 3647eff

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 3207901 commit 3647eff

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

best_buy_bullet_bot/tracker/__init__.py

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -178,9 +178,11 @@ def await_checkout(
178178
sound_effects.stop()
179179

180180
Colors.print(
181-
f'All requested "{title}" were purchased.'
182-
if money_manager.check_funds(pred_price)
183-
else f"With only ${money_manager.get_funds():,.2f} you cannot afford {title}.",
181+
(
182+
f'All requested "{title}" were purchased.'
183+
if money_manager.check_funds(pred_price)
184+
else f"With only ${money_manager.get_funds():,.2f} you cannot afford {title}."
185+
),
184186
"It will no longer be tracked to conserve resources.\n",
185187
properties=["warning"],
186188
)
@@ -464,9 +466,11 @@ def kill_all(*args, **kwargs):
464466
close_data()
465467

466468
# Forcefully close everything
467-
os.system(
468-
f"taskkill /F /im {psutil.Process(os.getpid()).name()}"
469-
) if WINDOWS else os.killpg(os.getpgid(os.getpid()), signal.SIGKILL)
469+
(
470+
os.system(f"taskkill /F /im {psutil.Process(os.getpid()).name()}")
471+
if WINDOWS
472+
else os.killpg(os.getpgid(os.getpid()), signal.SIGKILL)
473+
)
470474

471475
def clean_kill(*args, **kwargs):
472476
# Suppress error messages created as a result of termination

0 commit comments

Comments
 (0)