Skip to content

Commit

Permalink
Merge pull request #115 from NelsonDane/deepsource-transform-a591fb70
Browse files Browse the repository at this point in the history
style: format code with Black and isort
  • Loading branch information
NelsonDane authored Jan 4, 2024
2 parents f592f0e + 00619d1 commit 303fd64
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 3 additions & 1 deletion robinhoodAPI.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ def robinhood_init(ROBINHOOD_EXTERNAL=None):
info="account_number", account_number=ira
)
if ira_num is None:
print(f"Unable to lookup IRA account {rh_obj.print_account_number(ira)}")
print(
f"Unable to lookup IRA account {rh_obj.print_account_number(ira)}"
)
continue
print(f"Found IRA account {rh_obj.print_account_number(ira_num)}")
rh_obj.set_account_number(name, ira_num)
Expand Down
4 changes: 1 addition & 3 deletions tastyAPI.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,7 @@ async def tastytrade_execute(tt_o: Brokerage, orderObj: stockOrder, loop=None):
loop=loop,
)
except TastytradeError as te:
printAndDiscord(
f"{key} {print_account}: Error: {te}", loop=loop
)
printAndDiscord(f"{key} {print_account}: Error: {te}", loop=loop)


def tastytrade_transaction(tt: Brokerage, orderObj: stockOrder, loop=None):
Expand Down

0 comments on commit 303fd64

Please sign in to comment.