mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-06 16:29:37 +08:00
fix: flake8
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user