Skip to content
Snippets Groups Projects
Commit 61eb3e11 authored by Tim Jaacks's avatar Tim Jaacks
Browse files

Switch all strings to formatted string literals (f-strings)

The old printf-style string formatting syntax using '%' is not
recommended anymore. See for reference:
https://docs.python.org/3/library/stdtypes.html#printf-style-string-formatting
https://docs.sourcery.ai/Reference/Python/Default-Rules/replace-interpolation-with-fstring/

Python 3.6 introduced f-strings as a better alternative:
https://docs.python.org/3/reference/lexical_analysis.html#f-strings

Consequently switch to this new syntax for all strings.
parent b2fb3e93
No related branches found
No related tags found
1 merge request!317Switch all strings to formatted string literals (f-strings)
Pipeline #76784 skipped with stage
Showing
with 174 additions and 268 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment