fix: flake8

This commit is contained in:
debugtalk
2021-12-28 14:58:22 +08:00
parent 3b13f0b6db
commit 7d8234d7c8
2 changed files with 4 additions and 4 deletions
+1 -1
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: