pyupgrade: Reformat with --py36-plus.
This includes mainly fixes of string literals using f-strings or .format(...), as well as unpacking of list comprehensions.
This commit is contained in:
parent
e27ac0ddbe
commit
9ce7c52a10
78 changed files with 356 additions and 389 deletions
|
@ -207,7 +207,7 @@ if args.quick:
|
|||
# run mypy
|
||||
status = 0
|
||||
for repo, python_files in repo_python_files.items():
|
||||
print("Running mypy for `{}`.".format(repo), flush=True)
|
||||
print(f"Running mypy for `{repo}`.", flush=True)
|
||||
if python_files:
|
||||
result = subprocess.call([mypy_command] + extra_args + python_files)
|
||||
if result != 0:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue