fix: flake8

This commit is contained in:
debugtalk
2021-12-28 14:58:22 +08:00
parent a5b95efd1e
commit b2feafdb37
2 changed files with 4 additions and 4 deletions

View File

@@ -173,7 +173,7 @@ def format_pytest_with_black(*python_paths: Text) -> NoReturn:
subprocess.run(["black", *python_paths]) subprocess.run(["black", *python_paths])
else: else:
logger.warning( logger.warning(
f"this system does not support multiprocessing well, format files one by one ..." "this system does not support multiprocessing well, format files one by one ..."
) )
[subprocess.run(["black", path]) for path in python_paths] [subprocess.run(["black", path]) for path in python_paths]
except subprocess.CalledProcessError as ex: except subprocess.CalledProcessError as ex: