From 8d25643d21c518ee906a2307dba8b3448b57802d Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Mon, 22 Jan 2024 03:39:54 +0000 Subject: [PATCH] style: format code with Black and isort This commit fixes the style issues introduced in 100d155 according to the output from Black and isort. Details: https://github.com/NelsonDane/auto-rsa/pull/135 --- robinhoodAPI.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/robinhoodAPI.py b/robinhoodAPI.py index 8f45eca8..6d1959be 100644 --- a/robinhoodAPI.py +++ b/robinhoodAPI.py @@ -49,8 +49,12 @@ def robinhood_init(ROBINHOOD_EXTERNAL=None): a["account_number"], a["portfolio_cash"], ) - rh_obj.set_account_type(name, a["account_number"], a["brokerage_account_type"]) - print(f"Found {a['brokerage_account_type']} account {maskString(a['account_number'])}") + rh_obj.set_account_type( + name, a["account_number"], a["brokerage_account_type"] + ) + print( + f"Found {a['brokerage_account_type']} account {maskString(a['account_number'])}" + ) except Exception as e: print(f"Error: Unable to log in to Robinhood: {e}") traceback.format_exc()