From b911fde4830d09152a167e49c72e99ec859d32f3 Mon Sep 17 00:00:00 2001 From: Jacob Floyd Date: Thu, 9 Dec 2021 16:53:35 -0600 Subject: [PATCH] use an f-string --- .circle/index.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.circle/index.py b/.circle/index.py index db1339ac..32c0c74c 100644 --- a/.circle/index.py +++ b/.circle/index.py @@ -137,10 +137,10 @@ def build_index(path_glob, output_path): # If an issue is reported on GitHub Actions, update this error message # to explain common causes and how to fix them. failed_message = ( - ', {failed_count} packs failed to update.\n' + f', {failed_count} packs failed to update.\n' 'Please investigate why this failed and report an issue on:\n' - ' https://github.com/{exchange_name}/ci\n' - ).format(failed_count=failed_count, exchange_name=EXCHANGE_NAME) + f' https://github.com/{EXCHANGE_NAME}/ci\n' + ) print('') print('Processed %s packs%s.' % (counter, failed_message))