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

This commit is contained in:
Kevin Kirsche
2022-08-03 08:04:27 -04:00
committed by GitHub
parent 38c4a1ece2
commit bd7a02fad4
5 changed files with 7 additions and 7 deletions

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)