refactor: prefer f-strings to other format/concatentation styles (#8474)

This commit is contained in:
Kevin Kirsche authored and GitHub committed 2022-08-03 14:04:27 +02:00
1 parent 38c4a1ece2
commit bd7a02fad4
5 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -46,7 +46,7 @@ def run_stubtest(typeshed_dir: Path) -> int:
"\nNB: stubtest output depends on the Python version (and system) it is run with. "
"See README.md for more details.\n"
"NB: We only check positional-only arg accuracy for Python 3.10.\n"
"\nCommand run was: {}\n".format(" ".join(cmd)),
f"\nCommand run was: {' '.join(cmd)}\n",
file=sys.stderr,
)
print("\n\n", file=sys.stderr)