Only the first two commits in this PR are actual fixes.
The other two are just
upgrading the remaining "".format() strings to f-strings (which make errors like that fixed in 2nd commit impossible) (not sure why pyupgrade left some of them) and
joining awkwardly split strings (e.g. "Gunicorn is required for server mode. " "Install using `pip install gunicorn`." -> "Gunicorn is required for server mode. Install using `pip install gunicorn`.").
Only the first two commits in this PR are actual fixes.
The other two are just
"".format()
strings to f-strings (which make errors like that fixed in 2nd commit impossible) (not sure whypyupgrade
left some of them) and"Gunicorn is required for server mode. " "Install using `pip install gunicorn`."
->"Gunicorn is required for server mode. Install using `pip install gunicorn`."
).