mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-28 13:01:38 +00:00
pylint / black
This commit is contained in:
@@ -18,8 +18,13 @@ def check_valid_binance_str(symbol: str):
|
||||
try:
|
||||
client.get_avg_price(symbol=symbol.upper())
|
||||
return symbol.upper()
|
||||
except BinanceAPIException:
|
||||
raise argparse.ArgumentTypeError(f"{symbol} is not a valid binance symbol")
|
||||
except BinanceAPIException as e:
|
||||
raise argparse.ArgumentTypeError(
|
||||
f"{symbol} is not a valid binance symbol"
|
||||
) from e
|
||||
|
||||
|
||||
# pylint: disable=inconsistent-return-statements
|
||||
|
||||
|
||||
def add_binance_coin(other_args: List[str]):
|
||||
|
||||
Reference in New Issue
Block a user