From bedb44ac2df4c4e1d7015aca8f65733819bd1c75 Mon Sep 17 00:00:00 2001 From: Jamie Perkins Date: Fri, 28 May 2021 12:07:21 -0400 Subject: [PATCH] fix linting errors --- gamestonk_terminal/main_helper.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gamestonk_terminal/main_helper.py b/gamestonk_terminal/main_helper.py index 3fab69f4549..1c7003cd9bc 100644 --- a/gamestonk_terminal/main_helper.py +++ b/gamestonk_terminal/main_helper.py @@ -470,8 +470,8 @@ def quote(l_args: List[str], s_ticker: str): "52 Week Low", "Change", ]: - quote_df[c] = quote_df[c].apply(lambda x: "{:.2f}".format(x)) - quote_df["Volume"] = quote_df["Volume"].apply(lambda x: "{:,}".format(x)) + quote_df[c] = quote_df[c].apply(lambda x: f"{x:.2f}") + quote_df["Volume"] = quote_df["Volume"].apply(lambda x: f"{x:,}") quote_df = quote_df.set_index("Symbol")