Update string formatting to use f-string on core codebase (#125988)

* Update string formatting to use f-string on core codebase

* Small change given review feedback
This commit is contained in:
Alberto Montes 2024-09-19 14:31:13 +02:00 committed by GitHub
parent 7ba9d1fe65
commit 28ece89272
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 18 additions and 14 deletions

View file

@ -57,7 +57,9 @@ def main():
)
for key in sorted(msg):
print("\n{}\n - {}".format(key, "\n - ".join(msg[key])))
print(f"\n{key}")
for val in msg[key]:
print(f" - {val}")
if __name__ == "__main__":